[Spice-devel] [PATCH spice-protocol] Change usbredir messages to spicevmc messages

Alon Levy alevy at redhat.com
Fri Aug 26 01:07:11 PDT 2011


On Thu, Aug 25, 2011 at 01:57:21PM +0200, Hans de Goede wrote:
> Hi,
> 
> On 08/25/2011 01:35 PM, Gerd Hoffmann wrote:
> >Hi,
> >
> >>Some examples of why having a generic spicevmc pass through is good:
> >
> >(5) Redirect the serial or virtio console over spice. Especially with
> >spice-gtk it should be easy to wind up the spice client side to a
> >vte widget.
> 
> Right, so this would be very similar to doing the qemu
> monitor over a spice channel. So what we need is some spice-gtk
> code to plug a spicevmc channel into a vte widget, and then
> we can add both a monitor and a serial-console channel :)
> 

With the current code you would have to let both sides know what the new channels are:

qemu -chardev spicevmc,name=generic,channelid=128,id=mon -mon chardev=mon
# and same for virtio

spicy --spicevmc channelid=128,handler=vte
# just an example

> Regards,
> 
> Hans
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list