[Users] Configure spice plugin for wan

Itamar Heim iheim at redhat.com
Sat Mar 2 20:03:31 UTC 2013


On 02/03/2013 12:51, Gianluca Cecchi wrote:
> On Sat, Mar 2, 2013 at 11:23 AM, Gianluca Cecchi wrote:
>>
>> In the mean time I found a bug in spice-guest-tools-0.3.exe in my opinion.
>> See this screenshot:
>> https://docs.google.com/file/d/0BwoPbcrMv8mvSWx3OGZMUEFVckE/edit?usp=sharing

the important part is the name of the installed app under application list.
user portal will only see it if you have the guest agent installed 
(which you can validate by checking what you see under the webadmin, 
standing on the VM, looking at the application list).

for name of config value:
engine-config -g SpiceDriverNameInGuest

>>
>> I ran installation from c:\temp and it seems it configured the service
>> as starting from
>> C:\temp\vdagent-win32_20111124\vdagent_x86
>>
>> so that if I clean my c:\temp dir I loose the agent and service...
>> I'm going to post this to spice-devel mailing list to have some information
>> Where are they supposed to install themselves?
>
> This was my fault as this vm was imported and had already an old agent
> used in Qemu/KVM before.
> When I ran spice-guest-tools I thought it would have overwritten the old ones...
> but it had not.
> So I deleted the service with sc command, reboot and reinstall spice
> guest tools, then shutdown and power on again
> Now I have this for agent version and location tha seems good:
>
> https://docs.google.com/file/d/0BwoPbcrMv8mvQkdzSVl3TDBjT0E/edit?usp=sharing
>
> But I still have no option for wan optimization in user portal
>
> The qemu command line generated when I power on the VM, if it can be
> of any help, is this:
>
> qemu     21145     1  7 11:41 ?        00:00:39 /usr/bin/qemu-kvm
> -name winxp_clone -S -M pc-0.14 -cpu Opteron_G3 -enable-kvm -m 1024
> -smp 1,sockets=1,cores=1,threads=1 -uuid
> 2981b979-a363-4ab9-a251-439b5774b04d -smbios
> type=1,manufacturer=oVirt,product=oVirt
> Node,version=18-1,serial=E0E1001E-8C00-002A-6F9A-90E6BAC9F1E1,uuid=2981b979-a363-4ab9-a251-439b5774b04d
> -no-user-config -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/winxp_clone.monitor,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control -rtc
> base=2013-03-02T23:43:40,driftfix=slew -no-shutdown -device
> ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device
> ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
> -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
> -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
> -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -drive
> if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device
> ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
> file=/rhev/data-center/65c9777e-23f1-4f04-8cea-e7c8871dc88b/0a8035e6-e41d-40ff-a154-e0a374f264b2/images/75c54716-5222-4ad6-91f2-8b312eacc4b4/201a3f12-4b58-49a1-8748-5d5782175e28,if=none,id=drive-virtio-disk0,format=raw,serial=75c54716-5222-4ad6-91f2-8b312eacc4b4,cache=none,werror=stop,rerror=stop,aio=threads
> -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> -netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=28 -device
> virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:a8:01:52,bus=pci.0,addr=0x3
> -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/winxp_clone.com.redhat.rhevm.vdsm,server,nowait
> -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
> -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/winxp_clone.org.qemu.guest_agent.0,server,nowait
> -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
> -chardev spicevmc,id=charchannel2,name=vdagent -device
> virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
> -spice port=5900,tls-port=5901,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir
> -k en-us -vga qxl -global qxl-vga.vram_size=67108864 -device
> AC97,id=sound0,bus=pci.0,addr=0x4 -chardev
> spicevmc,id=charredir0,name=usbredir -device
> usb-redir,chardev=charredir0,id=redir0 -chardev
> spicevmc,id=charredir1,name=usbredir -device
> usb-redir,chardev=charredir1,id=redir1 -chardev
> spicevmc,id=charredir2,name=usbredir -device
> usb-redir,chardev=charredir2,id=redir2 -chardev
> spicevmc,id=charredir3,name=usbredir -device
> usb-redir,chardev=charredir3,id=redir3 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8
>
> Thanks,
> Gianluca
>




More information about the Users mailing list