[Spice-commits] Branch 'spice.kvm.v11' - hw/spice-vmc.c
Alon Levy
alon at kemper.freedesktop.org
Wed Jul 21 06:32:24 PDT 2010
hw/spice-vmc.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit a5f1f3bf5732251bc05add73c3a02c7e6044e512
Author: Alon Levy <alevy at redhat.com>
Date: Wed Jul 21 16:31:02 2010 +0300
spice-vmc: workaround for bz 616814
diff --git a/hw/spice-vmc.c b/hw/spice-vmc.c
index 041f243..8e14446 100644
--- a/hw/spice-vmc.c
+++ b/hw/spice-vmc.c
@@ -118,6 +118,10 @@ static void vmc_guest_open(VirtIOSerialPort *port)
{
SpiceVirtualChannel *svc = DO_UPCAST(SpiceVirtualChannel, port, port);
+ // Workaround for BZ 616814 - driver doesn't recognize host connected
+ virtio_serial_close(port);
+ virtio_serial_open(port);
+
dprintf(svc, 1, "%s\n", __func__);
vmc_register_interface(svc);
}
More information about the Spice-commits
mailing list