[Spice-devel] Problem about qxl and vmc

wangfeng wangfeng wangfeng.v1.1985 at gmail.com
Wed Mar 7 01:22:59 PST 2012


    Thank you all.
I have another problem. I started a Win7 VM with vdagent and it worked
well. Then I made a snapshot through libvirt by the following commands:
*#virsh save (id) win7.snp*
*#virsh restore win7.snp*
When I reconnected the VM ,the mouse‘s moving seems to be some lags, or
maybe missing some mouse nstructions. Have I made a mistake?

Here is the libvirt xml :

*<domain type='kvm' xmlns:qemu='**http://libvirt.org/schemas/domain/qemu/1.0
* <http://libvirt.org/schemas/domain/qemu/1.0>*'>
  <name>win7template</name>
  <memory>524288</memory>
  <currentMemory>524288</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='i686' machine='pc-0.14'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/home/img/wftest/win7.test.img'/>
      <target dev='hda' bus='ide'/>
      <address type='drive' controller='0' bus='0' unit='0'/>
    </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
    </controller>
    <interface type='network'>
      <mac address='52:54:00:27:ed:2f'/>
      <source network='default'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
     <input type='tablet' bus='usb'/>
    <graphics type='spice' port='9999' autoport='no'
listen='192.168.12.236'>
      <mouse mode='server'/>
      <listen type='address' address='192.168.12.236'/>
    </graphics>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
    </channel>
    <video>
      <model type='qxl' vram='65536' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
    </video>
    <sound model='ac97'/>
    <memballoon model='virtio'>
      <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/20120307/01664d77/attachment.htm>


More information about the Spice-devel mailing list