diff options
author | Peter Maydell | 2018-04-20 16:52:49 +0200 |
---|---|---|
committer | Peter Maydell | 2018-04-26 14:58:29 +0200 |
commit | b8846a4d6352b2a1d2012f8b3b9115640524aeda (patch) | |
tree | d9cdc0080393509f1b1ba693504ede9ad7cf5536 /scripts/checkpatch.pl | |
parent | vl.c: Remove compile time limit on number of serial ports (diff) | |
download | qemu-b8846a4d6352b2a1d2012f8b3b9115640524aeda.tar.gz qemu-b8846a4d6352b2a1d2012f8b3b9115640524aeda.tar.xz qemu-b8846a4d6352b2a1d2012f8b3b9115640524aeda.zip |
vl.c: new function serial_max_hds()
Create a new function serial_max_hds() which returns the number of
serial ports defined by the user. This is needed only by spapr.
This allows us to remove the MAX_SERIAL_PORTS define.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180420145249.32435-14-peter.maydell@linaro.org
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions