aboutsummaryrefslogtreecommitdiff
path: root/qemu_socket.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-04-23 18:23:10 +0300
committerAmit Shah <amit.shah@redhat.com>2012-04-25 16:34:02 +0530
commit62a9fbf7fd022103c6b271abd7b7834b84ba7071 (patch)
treea0eab471ea5fe03939f474e3d2ec5a5a51ed7f05 /qemu_socket.h
parent3c30dd5a68e9fee6af67cfd0d14ed7520820f36a (diff)
virtio-serial-bus: fix guest_connected init before driver init
guest_connected should be false before guest driver initialization, and true after, both for multiport aware and non multiport aware drivers. Don't set it before the guest_features are available; instead use set_status which is called by io to VIRTIO_PCI_STATUS with VIRTIO_CONFIG_S_DRIVER_OK by even older non multiport drivers. [Amit: Add comment, tweak summary, only set guest_connected and not reset it as a side-effect.] Signed-off-by: Alon Levy <alevy@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'qemu_socket.h')
0 files changed, 0 insertions, 0 deletions