diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-28 15:08:48 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2012-11-01 16:39:57 +0100 |
commit | 724297e684db6ea307644608596112b48f7dfe32 (patch) | |
tree | 44a13f0a2665086f32420793eeaf9a653307caf1 /block.h | |
parent | 3b5c0571d5c428cf1a661abb4b1e3473c5632f31 (diff) |
virtio-serial-bus: replay guest_open on migration
When migrating a host with with a spice agent running the mouse becomes
non operational after the migration. This is rhbz #725965.
The problem is that after migration spice doesn't know the guest agent is open.
Spice is just a char dev here. And a chardev cannot query it's device, the
device has to let the chardev know when it is open. Right now after migration
the chardev which is recreated is in it's default state, which assumes the
guest is disconnected.
Char devices carry no information across migration, but the virtio-serial does
already carry the guest_connected state. This patch passes that bit to the
chardev.
Signed-off-by: Alon Levy <alevy@redhat.com>
Diffstat (limited to 'block.h')
0 files changed, 0 insertions, 0 deletions