diff options
author | Amit Shah | 2011-03-15 09:43:09 +0100 |
---|---|---|
committer | Amit Shah | 2011-03-21 12:26:55 +0100 |
commit | f9a90f189c780e066039f2de3906c73c48071bb7 (patch) | |
tree | 7a45f4dadfd9bb5f672a499d7f17b84ca4359388 /hw/qdev-properties.c | |
parent | virtio-serial: Don't clear ->have_data() pointer after unplug (diff) | |
download | qemu-f9a90f189c780e066039f2de3906c73c48071bb7.tar.gz qemu-f9a90f189c780e066039f2de3906c73c48071bb7.tar.xz qemu-f9a90f189c780e066039f2de3906c73c48071bb7.zip |
virtio-console: Keep chardev open for other users after hot-unplug
After a hot-unplug operation, the previous behaviour was to close the
chardev. That meant the chardev couldn't be re-used. Also, since
chardev hot-plug isn't possible so far, this means virtio-console
hot-plug isn't feasible as well.
With this change, the chardev is kept around. A new virtio-console
channel can then be hot-plugged with the same chardev and things will
continue to work.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'hw/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions