lspci listed 'Communication Controller Virtio console' as one of the
devices exposed. But I did not see any /dev/vport*.

On Tue, Apr 24, 2012 at 12:17 PM, Andrew Cathrow <acath...@redhat.com>wrote:

>
>
> ----- Original Message -----
> > From: "Raj Rajasekaran" <r...@connecttel.com>
> > To: "Andrew Cathrow" <acath...@redhat.com>
> > Cc: qemu-devel@nongnu.org
> > Sent: Tuesday, April 24, 2012 12:09:32 PM
> > Subject: Re: [Qemu-devel] Spice vdagent on SLED 11
> >
> >
> > Here it is
> >
> >
> >
> > 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
>
> So the right config is being passed to KVM.
> You can run lspci in the virtual machine to make sure the right PCI
> devices are being exposed.
> Then presuming the guest as virtio-serial support (and I don't know if
> SLED11 has that compiled in) then you'll see /dev/vport* (and potentially
> symlinks in /dev/virtio-ports/ depending on how udev is setup in SLED)
>
>
>
>
> >
> >
> >
> >
> >
> > On Tue, Apr 24, 2012 at 11:03 AM, Andrew Cathrow <
> > acath...@redhat.com > wrote:
> >
> >
> > do you have the configuration ? is there a libvirt xml, or a command
> > line in a script?
> >
> >
> > ----- Original Message -----
> > > From: "Raj Rajasekaran" < r...@connecttel.com >
> > > To: "Andrew Cathrow" < acath...@redhat.com >
> > > Cc: qemu-devel@nongnu.org
> >
> >
> > > Sent: Tuesday, April 24, 2012 11:59:07 AM
> > > Subject: Re: [Qemu-devel] Spice vdagent on SLED 11
> > >
> > >
> > > Yes.
> > >
> > >
> > > On Tue, Apr 24, 2012 at 10:48 AM, Andrew Cathrow <
> > > acath...@redhat.com > wrote:
> > >
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Raj Rajasekaran" < r...@connecttel.com >
> > >
> > > > To: "Andrew Cathrow" < acath...@redhat.com >
> > > > Cc: qemu-devel@nongnu.org
> > > > Sent: Tuesday, April 24, 2012 11:43:12 AM
> > > > Subject: Re: [Qemu-devel] Spice vdagent on SLED 11
> > > >
> > > >
> > > > Where do I check whether VM is configured to expose this virtio
> > > > serial device? If not how to configure it.
> > > >
> > >
> > > Did you start/configure the VM?
> > >
> > >
> > >
> > >
> > > >
> > > > On Mon, Apr 23, 2012 at 7:45 PM, Andrew Cathrow <
> > > > acath...@redhat.com
> > > > > wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > > From: "Raj Rajasekaran" < r...@connecttel.com >
> > > > > To: qemu-devel@nongnu.org
> > > > > Sent: Monday, April 23, 2012 11:35:56 AM
> > > > > Subject: [Qemu-devel] Spice vdagent on SLED 11
> > > > >
> > > > > I am not able to get Spice vdagent running on SLED 11 virtual
> > > > > machine. Log file has the error message 'Missing virtio device
> > > > > '/dev/virtio-ports/com.redhat.spice.0'. I am using Qemu v0.15.1
> > > > > and
> > > > > Spice v0.10.0.
> > > > >
> > > > >
> > > > > Has anyone got this work under SLED11?
> > > >
> > > > Is your VM configured to expost a virtio-serial device named
> > > > com.redhat.spice.0 ?
> > > >
> > > > -chardev spicevmc,id=charchannel0,name=vdagent
> > > > -device
> > > >
> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
> > > >
> > > >
> > > > or
> > > >
> > > >
> > > > <controller type='virtio-serial' index='0'/>
> > > > <channel type='spicevmc'>
> > > > <target type='virtio' name='com.redhat.spice.0'/>
> > > > <address type='virtio-serial' controller='0' bus='0' port='1'/>
> > > > </channel>
> > > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > -Raj
> > > >
> > > >
> > >
> > >
> >
> >
>

Reply via email to