Sorry about that. All my problems come out in client mode. I attached a wrong xml file with "server mode".<br><br><div class="gmail_quote">2012/3/7 David Jaša <span dir="ltr"><<a href="mailto:djasa@redhat.com">djasa@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm curious about one detail of your setup:<br>
<br>
wangfeng wangfeng píše v St 07. 03. 2012 v 17:22 +0800:<br>
<div><div></div><div class="h5">><br>
><br>
> Thank you all.<br>
> I have another problem. I started a Win7 VM with vdagent and it worked<br>
> well. Then I made a snapshot through libvirt by the following<br>
> commands:<br>
> #virsh save (id) win7.snp<br>
> #virsh restore win7.snp<br>
> When I reconnected the VM ,the mouse‘s moving seems to be some lags,<br>
> or maybe missing some mouse nstructions. Have I made a mistake?<br>
><br>
><br>
> Here is the libvirt xml :<br>
><br>
><br>
> <domain type='kvm'<br>
> xmlns:qemu='<a href="http://libvirt.org/schemas/domain/qemu/1.0" target="_blank">http://libvirt.org/schemas/domain/qemu/1.0</a>'><br>
> <name>win7template</name><br>
> <memory>524288</memory><br>
> <currentMemory>524288</currentMemory><br>
> <vcpu>1</vcpu><br>
> <os><br>
> <type arch='i686' machine='pc-0.14'>hvm</type><br>
> <boot dev='hd'/><br>
> </os><br>
> <features><br>
> <acpi/><br>
> <apic/><br>
> <pae/><br>
> </features><br>
> <clock offset='localtime'/><br>
> <on_poweroff>destroy</on_poweroff><br>
> <on_reboot>restart</on_reboot><br>
> <on_crash>restart</on_crash><br>
> <devices><br>
> <emulator>/usr/bin/qemu-kvm</emulator><br>
> <disk type='file' device='disk'><br>
> <driver name='qemu' type='raw'/><br>
> <source file='/home/img/wftest/win7.test.img'/><br>
> <target dev='hda' bus='ide'/><br>
> <address type='drive' controller='0' bus='0' unit='0'/><br>
> </disk><br>
> <controller type='ide' index='0'><br>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x01'<br>
> function='0x1'/><br>
> </controller><br>
> <interface type='network'><br>
> <mac address='52:54:00:27:ed:2f'/><br>
> <source network='default'/><br>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x03'<br>
> function='0x0'/><br>
> </interface><br>
> <serial type='pty'><br>
> <target port='0'/><br>
> </serial><br>
> <console type='pty'><br>
> <target type='serial' port='0'/><br>
> </console><br>
> <input type='tablet' bus='usb'/><br>
> <graphics type='spice' port='9999' autoport='no'<br>
> listen='192.168.12.236'><br>
> <mouse mode='server'/><br>
<br>
</div></div> ^^^^^^<br>
<br>
Why do you force mouse to work in server mode? In my experience, it<br>
severely harms Spice performance and leads to way worse user experience.<br>
<br>
David<br>
<div class="im"><br>
> <listen type='address' address='192.168.12.236'/><br>
> </graphics><br>
> <channel type='spicevmc'><br>
> <target type='virtio' name='com.redhat.spice.0'/><br>
> </channel><br>
> <video><br>
> <model type='qxl' vram='65536' heads='1'/><br>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x02'<br>
> function='0x0'/><br>
> </video><br>
> <sound model='ac97'/><br>
> <memballoon model='virtio'><br>
> <address type='pci' domain='0x0000' bus='0x00' slot='0x05'<br>
> function='0x0'/><br>
> </memballoon><br>
> </devices><br>
> </domain><br>
><br>
><br>
</div><div><div></div><div class="h5">> _______________________________________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br>
</div></div><font color="#888888">--<br>
<br>
David Jaša, RHCE<br>
<br>
SPICE QE based in Brno<br>
GPG Key: 22C33E24<br>
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24<br>
<br>
<br>
<br>
</font></blockquote></div><br>