> > Hi, > > > I use this qemu command line to start my virtual machine, but didn't > get /dev/virtio-ports/com.redhat.spice.0 Is the guest kernel loading virtio-console module? You should see something like: # cat /proc/devices | grep virt 252 virtio-portsdev you should have CONFIG_VIRTIO_CONSOLE=m or y in your kernel config. > > > > > /usr/bin/qemu-system-x86_64 -enable-kvm -name winxp -S -M pc-1.1 -cpu > core2duo,+lahf_lm,+pdcm,+xtpr,+cx16,+tm2,+est,+vmx,+ds_cpl,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds > -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -uuid > 05f5ab57-fca8-3c2e-6705-79e40e85a2b4 -no-user-config -nodefaults > -chardev > socket,id=charmonitor,path=/var/lib/libvirt/qemu/winxp.monitor,server,nowait > -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime > -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 > -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 > -drive > file=/var/lib/libvirt/images/winxp.img,if=none,id=drive-virtio-disk0,format=qcow2 > -device > virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 > -drive > file=/home/apporc/Software/ISO/virtio-win-0.1-30.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw > -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 > -netdev tap,fd=19,id=hostnet0,vhost=on,vhostfd=20 -device > virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:9d:e6:c2,bus=pci.0,addr=0x3 > -chardev pty,id=charserial0 -device > isa-serial,chardev=charserial0,id=serial0 -chardev > spicevmc,id=charchannel0,name=vdagent -device > virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 > -device usb-tablet,id=input0 -spice > port=5900,addr=127.0.0.1,disable-ticketing -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 -device > virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 > > > > > > OS: gentoo > Kernel: 3.5.7 x86_64 > VIRSH version: > > Compiled against library: libvirt 0.10.2 > Using library: libvirt 0.10.2 > Using API: QEMU 0.10.2 > Running hypervisor: QEMU 1.1.2 > > > spice-vdagent version: 0.12.0 > > > > > > apporc-gentoo ~ # /etc/init.d/spice-vdagent start > * Checking for required modules and devices ... > * Required virtio port does not exist. Make sure you > * started the virtual machine with appropriate parameters. [ !! ] > * ERROR: spice-vdagent failed to start > apporc-gentoo ~ # virsh list > Id Name State > ---------------------------------------------------- > 4 winxp running > > > > > Thank you. > > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel