]> git.proxmox.com Git - qemu.git/commit
virtio-serial: propagate guest_connected to the port on post_load
authorAlon Levy <alevy@redhat.com>
Tue, 26 Mar 2013 10:08:02 +0000 (11:08 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 Mar 2013 15:26:50 +0000 (10:26 -0500)
commitbc6b815d9e34778aa7fbe785ecfa0b216c96f576
tree8c499fec7465dc11543c0256eaf46baf178d7b66
parentb2c1394af13b46a72cd27ff580cdd1d9bb1e8934
virtio-serial: propagate guest_connected to the port on post_load

When migrating a host with with a spice agent running the mouse becomes
non operational after the migration due to the agent state being
inconsistent between the guest and the client.

After migration the spicevmc backend on the destination has never been notified
of the (non 0) guest_connected state. Virtio-serial holds this state
information and migrates it, this patch properly propagates this information
to virtio-console and through that to interested chardev backends.

rhbz #725965

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Message-id: 1364292483-16564-11-git-send-email-hdegoede@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-serial-bus.c