I&#39;ve seen other mention of a similar problem over the past year but no resolution is ever given. I have two qemu-spice hosts at two different physical locations. When I connect to either of them from spicy or Christophe&#39;s osx port of vinagre, I frequently experience loss of input (keyboard/mouse). It is then necessary to disconnect/reconnect to regain control of the session. The hosts are ubuntu precise, the guests are ubuntu oneiric running vdagent (though the problem exists with or without vdagent). spice-related packages are obtained from bderzhavets&#39; usbredir38 repo.<div>

<br></div><div>Some more pertinent info:</div><div><div>qemu-x86_64 version 1.0 (Debian 1.0-2011.12-0ubuntu1), Copyright (c) 2003-2008 Fabrice Bellard</div><div>QEMU emulator version 1.0 (Debian 1.0-2011.12-0ubuntu1), Copyright (c) 2003-2008 Fabrice Bellard</div>

<div>host kernel: 3.2.0-10-generic (64-bit)</div><div>guest kernel: 3.0.0-14-server (64-bit)</div><div><br></div><div>Before I go turning on debugging for all of the various moving parts, is there anything obvious that I might check or a specific cog to debug for maximum effectiveness?</div>

</div><div><br></div><div>Also, here is the libvirt xml associated with one of the guests, if it helps...</div><div><br></div><div>---CUT---</div><div>&lt;domain type=&#39;kvm&#39; id=&#39;3&#39;&gt;</div><div>  &lt;name&gt;ubuntu-virt03&lt;/name&gt;</div>

<div>  &lt;uuid&gt;49e1a7b7-a0fa-1aa7-3013-080a07c0e52c&lt;/uuid&gt;</div><div>  &lt;memory&gt;4194304&lt;/memory&gt;</div><div>  &lt;currentMemory&gt;4194304&lt;/currentMemory&gt;</div><div>  &lt;vcpu&gt;4&lt;/vcpu&gt;</div>

<div>  &lt;os&gt;</div><div>    &lt;type arch=&#39;x86_64&#39; machine=&#39;pc-1.0&#39;&gt;hvm&lt;/type&gt;</div><div>    &lt;boot dev=&#39;hd&#39;/&gt;</div><div>  &lt;/os&gt;</div><div>  &lt;features&gt;</div><div>    &lt;acpi/&gt;</div>

<div>    &lt;apic/&gt;</div><div>    &lt;pae/&gt;</div><div>  &lt;/features&gt;</div><div>  &lt;clock offset=&#39;utc&#39;/&gt;</div><div>  &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;</div><div>  &lt;on_reboot&gt;restart&lt;/on_reboot&gt;</div>

<div>  &lt;on_crash&gt;restart&lt;/on_crash&gt;</div><div>  &lt;devices&gt;</div><div>    &lt;emulator&gt;/usr/bin/kvm&lt;/emulator&gt;</div><div>    &lt;disk type=&#39;file&#39; device=&#39;disk&#39;&gt;</div><div>      &lt;driver name=&#39;qemu&#39; type=&#39;raw&#39; cache=&#39;writeback&#39;/&gt;</div>

<div>      &lt;source file=&#39;/opt/vm/ubuntu.img&#39;/&gt;</div><div>      &lt;target dev=&#39;hda&#39; bus=&#39;ide&#39;/&gt;</div><div>      &lt;alias name=&#39;ide0-0-0&#39;/&gt;</div><div>      &lt;address type=&#39;drive&#39; controller=&#39;0&#39; bus=&#39;0&#39; unit=&#39;0&#39;/&gt;</div>

<div>    &lt;/disk&gt;</div><div>    &lt;controller type=&#39;ide&#39; index=&#39;0&#39;&gt;</div><div>      &lt;alias name=&#39;ide0&#39;/&gt;</div><div>      &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x01&#39; function=&#39;0x1&#39;/&gt;</div>

<div>    &lt;/controller&gt;</div><div>    &lt;controller type=&#39;virtio-serial&#39; index=&#39;0&#39;&gt;</div><div>      &lt;alias name=&#39;virtio-serial0&#39;/&gt;</div><div>      &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x04&#39; function=&#39;0x0&#39;/&gt;</div>

<div>    &lt;/controller&gt;</div><div>    &lt;interface type=&#39;bridge&#39;&gt;</div><div>      &lt;mac address=&#39;52:54:00:ea:0e:1a&#39;/&gt;</div><div>      &lt;source bridge=&#39;br1&#39;/&gt;</div><div>      &lt;target dev=&#39;vnet0&#39;/&gt;</div>

<div>      &lt;alias name=&#39;net0&#39;/&gt;</div><div>      &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x03&#39; function=&#39;0x0&#39;/&gt;</div><div>    &lt;/interface&gt;</div>

<div>    &lt;serial type=&#39;pty&#39;&gt;</div><div>      &lt;source path=&#39;/dev/pts/2&#39;/&gt;</div><div>      &lt;target port=&#39;0&#39;/&gt;</div><div>      &lt;alias name=&#39;serial0&#39;/&gt;</div><div>    &lt;/serial&gt;</div>

<div>    &lt;console type=&#39;pty&#39; tty=&#39;/dev/pts/2&#39;&gt;</div><div>      &lt;source path=&#39;/dev/pts/2&#39;/&gt;</div><div>      &lt;target type=&#39;serial&#39; port=&#39;0&#39;/&gt;</div><div>      &lt;alias name=&#39;serial0&#39;/&gt;</div>

<div>    &lt;/console&gt;</div><div>    &lt;channel type=&#39;spicevmc&#39;&gt;</div><div>      &lt;target type=&#39;virtio&#39; name=&#39;com.redhat.spice.0&#39;/&gt;</div><div>      &lt;alias name=&#39;channel0&#39;/&gt;</div>

<div>      &lt;address type=&#39;virtio-serial&#39; controller=&#39;0&#39; bus=&#39;0&#39; port=&#39;1&#39;/&gt;</div><div>    &lt;/channel&gt;</div><div>    &lt;input type=&#39;mouse&#39; bus=&#39;ps2&#39;/&gt;</div><div>

    &lt;graphics type=&#39;spice&#39; port=&#39;5900&#39; tlsPort=&#39;-1&#39; autoport=&#39;yes&#39;&gt;</div><div>      &lt;image compression=&#39;auto_glz&#39;/&gt;</div><div>      &lt;jpeg compression=&#39;auto&#39;/&gt;</div>

<div>      &lt;zlib compression=&#39;auto&#39;/&gt;</div><div>      &lt;playback compression=&#39;on&#39;/&gt;</div><div>    &lt;/graphics&gt;</div><div>    &lt;sound model=&#39;ich6&#39;&gt;</div><div>      &lt;alias name=&#39;sound0&#39;/&gt;</div>

<div>      &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x06&#39; function=&#39;0x0&#39;/&gt;</div><div>    &lt;/sound&gt;</div><div>    &lt;video&gt;</div><div>      &lt;model type=&#39;qxl&#39; vram=&#39;65536&#39; heads=&#39;1&#39;/&gt;</div>

<div>      &lt;alias name=&#39;video0&#39;/&gt;</div><div>      &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x02&#39; function=&#39;0x0&#39;/&gt;</div><div>    &lt;/video&gt;</div>
<div>
    &lt;memballoon model=&#39;virtio&#39;&gt;</div><div>      &lt;alias name=&#39;balloon0&#39;/&gt;</div><div>      &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x05&#39; function=&#39;0x0&#39;/&gt;</div>

<div>    &lt;/memballoon&gt;</div><div>  &lt;/devices&gt;</div><div>&lt;/domain&gt;</div><div><br></div><div><br></div>