diff options
author | Peter Maydell | 2018-04-20 16:52:37 +0200 |
---|---|---|
committer | Peter Maydell | 2018-04-26 14:57:00 +0200 |
commit | 47c4f85a0c27888e12af827471cfef87deb49821 (patch) | |
tree | a780f1f3df4a7f409bf197df4410d8a19ae86cae /hw/isa/isa-superio.c | |
parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180426'... (diff) | |
download | qemu-47c4f85a0c27888e12af827471cfef87deb49821.tar.gz qemu-47c4f85a0c27888e12af827471cfef87deb49821.tar.xz qemu-47c4f85a0c27888e12af827471cfef87deb49821.zip |
hw/char/serial: Allow disconnected chardevs
Currently the serial.c realize code has an explicit check that it is not
connected to a disconnected backend (ie one with a NULL chardev).
This isn't what we want -- you should be able to create a serial device
even if it isn't attached to anything. Remove the check.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-id: 20180420145249.32435-2-peter.maydell@linaro.org
Diffstat (limited to 'hw/isa/isa-superio.c')
0 files changed, 0 insertions, 0 deletions