[Spice-devel] Problem about qxl and vmc

David Jaša djasa at redhat.com
Wed Mar 7 02:54:49 PST 2012


Hi,

I'm curious about one detail of your setup:

wangfeng wangfeng píše v St 07. 03. 2012 v 17:22 +0800:
> 
> 
>     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'>
>   <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'/>

                     ^^^^^^

Why do you force mouse to work in server mode? In my experience, it
severely harms Spice performance and leads to way worse user experience.

David

>       <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>
> 
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key:     22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24





More information about the Spice-devel mailing list