diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-04-20 15:52:37 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-04-26 13:57:00 +0100 |
commit | 47c4f85a0c27888e12af827471cfef87deb49821 (patch) | |
tree | a780f1f3df4a7f409bf197df4410d8a19ae86cae /rules.mak | |
parent | 20b2323edf8d42fe024902ca7d847b9f71c98df1 (diff) | |
download | qemu-47c4f85a0c27888e12af827471cfef87deb49821.zip qemu-47c4f85a0c27888e12af827471cfef87deb49821.tar.gz qemu-47c4f85a0c27888e12af827471cfef87deb49821.tar.bz2 |
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 'rules.mak')
0 files changed, 0 insertions, 0 deletions