On Fri, Dec 3, 2010 at 4:54 PM, Marc-André Lureau <marcandre.lur...@gmail.com> wrote: [snip] > There are various things that are needed before you can really start a > Spice VM from virt-manager, it's still work in progress. > > I use a qemu wrapper to run my spice branch of qemu. I edit the VM > configuration with virsh and restart the VM. I think that's what you > need too:
I'm already using a wrapper too. But I had to change to configure the options for the agent. I found I could now correctly start the vm with this substitution inside the wrapper (I only have one vm using the wrapper at the moment..) sed 's|-device usb-tablet,id=input0|-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x6 -device spicevmc,nr=1,bus=virtio-serial0.0|g' I had to put addr=0x6 because 0x5 was already used by the audio device. So now my running guest accessed with spicy has this command line when run from virt-manager qemu 25169 1 36 17:08 ? 00:00:09 /usr/bin/qemu-kvm -S -M fedora-13 -cpu core2duo,+x2apic -enable-kvm -m 768 -smp 1,sockets=1,cores=1,threads=1 -name w2k3 -uuid 9dd0e8cf-c501-b01a-48a4-eb025bb73f6b -nodefconfig -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/w2k3.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=localtime -boot dc -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/w2k3new.img,if=none,id=drive-ide0-0-1,boot=on,format=raw -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -device rtl8139,vlan=0,id=net0,mac=52:54:00:ff:61:63,bus=pci.0,addr=0x4 -net tap,fd=45,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x6 -device spicevmc,nr=1,bus=virtio-serial0.0 -spice port=5903,disable-ticketing -vga qxl -device AC97,id=sound0,bus=pci.0,addr=0x5 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 W2k3 detects a new device PCI Simple Communications Controller I suppose it is virtio-serial, correct? I so installed driver from vioserial-win-1.1.16.zip zip, using Wxp drivers as I didn't find w2k3 ones... It din't complain Restart guest but agent doesn't start.... At bottom of spicy window I have mouse: server, agent:no The agent is set to start automatically but it doesn't. If I manually start it, windows says that started and then stopped.... _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel