diff options
author | Peter Maydell | 2018-04-20 16:52:48 +0200 |
---|---|---|
committer | Peter Maydell | 2018-04-26 14:57:00 +0200 |
commit | 6af2692e86f9fdfb3d3d291c2708e81c3125d8e5 (patch) | |
tree | 33a4d343ec5fbb347d122405c8cd345e4b098b0f /scripts/checkpatch.pl | |
parent | superio: Don't use MAX_SERIAL_PORTS for serial port limit (diff) | |
download | qemu-6af2692e86f9fdfb3d3d291c2708e81c3125d8e5.tar.gz qemu-6af2692e86f9fdfb3d3d291c2708e81c3125d8e5.tar.xz qemu-6af2692e86f9fdfb3d3d291c2708e81c3125d8e5.zip |
vl.c: Remove compile time limit on number of serial ports
Instead of having a fixed sized global serial_hds[] array,
use a local dynamically reallocated one, so we don't have
a compile time limit on how many serial ports a system has.
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-13-peter.maydell@linaro.org
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions