[fedora-virt] win7 and vdagent: useful for upcoming test day?

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed Apr 6 11:12:56 UTC 2011


Hello,
currently on my F14 configured with virt-preview repo I have a Win7 32bit guest.

It is running ok, with both network and disk configured as virtio devices.
As I think w7 is becoming more and more used and so could be fine to
have it running with all possible functionalities in Qemu/KVM for F15
I think that being able to copy/paste to/from guest would be
desirable...

If you think the same, I would need some clarification before testing day:

a) with current releases of qemu-kvm, libvirt, virt-manager and spice
pieces in virt-preview is this test feasible?

If so:
b) if I understand well, I "only" need to have vdagent to work in
guest and so I presume I should have a line with these parameters
(from http://spice-space.org/page/Whiteboard/AgentProtocol)
-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5
-chardev spicevmc,name=vdagent,id=vdagent
-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,name=com.redhat.spice.0

Do I have to setup a wrapper or does exist a config setting in
virt-manager for it to be added?
My current command line when I start the guest from virt-manager is:
/usr/bin/qemu-kvm -S -M pc-0.14 -enable-kvm -m 1536 -smp
1,sockets=1,cores=1,threads=1 -name w7test -uuid
de5dbc9e-14f0-f56b-8e8a-4f4986d61ad8 -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/w7test.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime
-boot order=dc,menu=off -drive if=none,id=drive-fdc0-0-0,format=raw
-global isa-fdc.driveA=drive-fdc0-0-0 -drive
if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device
ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/var/lib/libvirt/images/w7test.img,if=none,id=drive-virtio-disk0,boot=on,format=raw
-device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0
-netdev tap,fd=21,id=hostnet0 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:d3:8e:29,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -usb -device
usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing
-vga qxl -device AC97,id=sound0,bus=pci.0,addr=0x4 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5

Based on my current line that already contains "-device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5", does this mean
that for vdagent part, if I use the wrapper I should use instead
"bus=pci.0,addr=0x6"??

c) which kind of vdagent sw do I need to download and install on guest side?
Is it ok vdagent-win32-0.6.3.zip for win7? Do I need also
vioserial-win-1.1.16.zip or not?

d) any other suggestions?

BTW: I remember for past year test day in F13+virt-preview there was a
page with a list of tests to do. Is there a similar one or is it going
to be written?

Thanks in advance,
Gianluca


More information about the virt mailing list