[Spice-devel] guest sessions freeze

Josh Restivo josh at exculp.com
Mon Jan 23 14:40:12 PST 2012


I'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'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' usbredir38
repo.

Some more pertinent info:
qemu-x86_64 version 1.0 (Debian 1.0-2011.12-0ubuntu1), Copyright (c)
2003-2008 Fabrice Bellard
QEMU emulator version 1.0 (Debian 1.0-2011.12-0ubuntu1), Copyright (c)
2003-2008 Fabrice Bellard
host kernel: 3.2.0-10-generic (64-bit)
guest kernel: 3.0.0-14-server (64-bit)

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?

Also, here is the libvirt xml associated with one of the guests, if it
helps...

---CUT---
<domain type='kvm' id='3'>
  <name>ubuntu-virt03</name>
  <uuid>49e1a7b7-a0fa-1aa7-3013-080a07c0e52c</uuid>
  <memory>4194304</memory>
  <currentMemory>4194304</currentMemory>
  <vcpu>4</vcpu>
  <os>
    <type arch='x86_64' machine='pc-1.0'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/opt/vm/ubuntu.img'/>
      <target dev='hda' bus='ide'/>
      <alias name='ide0-0-0'/>
      <address type='drive' controller='0' bus='0' unit='0'/>
    </disk>
    <controller type='ide' index='0'>
      <alias name='ide0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:ea:0e:1a'/>
      <source bridge='br1'/>
      <target dev='vnet0'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/2'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/2'>
      <source path='/dev/pts/2'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' port='5900' tlsPort='-1' autoport='yes'>
      <image compression='auto_glz'/>
      <jpeg compression='auto'/>
      <zlib compression='auto'/>
      <playback compression='on'/>
    </graphics>
    <sound model='ich6'>
      <alias name='sound0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
    </sound>
    <video>
      <model type='qxl' vram='65536' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
    </memballoon>
  </devices>
</domain>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120123/96b4e9b1/attachment.html>


More information about the Spice-devel mailing list