[Spice-devel] Spice vdagent on Ubuntu 10.04

Hans de Goede hdegoede at redhat.com
Thu Apr 26 00:26:22 PDT 2012


Hi,

On 04/25/2012 10:50 PM, t rajan wrote:
> Hi
>
> I'm trying to get Spice vdagent working on Ubuntu 10.04 guest VM. I updated to kernel version 2.6.38 to get virtio console driver. I'm launching the guest from command line
>
> qemu -vga qxl -device qxl -global qxl-vga.vram_size=33554432 -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=$SPICE_PORT,image-compression=off,disable-ticketing -enable-kvm -m 1024 -net nic,model=e1000,vlan=0,macaddr=52:54:84:fe:00:02 -net user,vlan=1,hostfwd=tcp::2222-:22 -net nic,model=e1000,vlan=1 -monitor stdio
>
> ls of /dev/virtio-ports gives " _ATTR_name -> ../vport0p1 " instead of " com.redhat.spice.0 -> ../vport0p1 ".

That looks like a udev problem (either with some rules or with udev itself), if 10.04 does not
support virtio_console out of the box, then it is probably easiest to just create the
symlink manually from some script.

Regards,

Hans


More information about the Spice-devel mailing list