summary refs log tree commit diff stats
path: root/hw/qdev-properties.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2011-03-03 13:29:45 +0530
committerAmit Shah <amit.shah@redhat.com>2011-03-21 16:55:12 +0530
commitfee063c07f20b442ef4bedef834ab0a3bf55b562 (patch)
tree497bb20bf04cfa95967d02a7a15c5e8721471cd9 /hw/qdev-properties.c
parente9b382b0170ee045295f2ff0ce1009a01a11eb1f (diff)
downloadfocaccia-qemu-fee063c07f20b442ef4bedef834ab0a3bf55b562.tar.gz
focaccia-qemu-fee063c07f20b442ef4bedef834ab0a3bf55b562.zip
virtio-serial: Don't clear ->have_data() pointer after unplug
After a port unplug operation, the port->info->have_data() pointer was
set to NULL.  The problem is, the ->info struct is shared by all ports,
effectively disabling writes to other ports.

Reported-by: juzhang <juzhang@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'hw/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions