[Qemu-devel] Re: virtio-serial: An interface for host-guest communication

Anthony Liguori anthony at codemonkey.ws
Mon Aug 10 06:02:51 PDT 2009


Gerd Hoffmann wrote:
>
>> There are some other problems with usb too: It's not transparent to
>> users. Any hotplug event could alert users and that's not desired. It's
>> a system-only thing and should also remain that way.
>
> I think virtio-serial is the better way to handle vmchannel.  Unlike 
> usb virtio is designed to work nicely in a virtual environment.
>
> But vmchannel-over-usbserial should be easy too though in case some 
> guests lacks virtio backports or something.

I think you're missing my fundamental point.  Don't use the kernel as 
the guest interface.

Introduce a userspace daemon that exposes a domain socket.  Then we can 
have a proper protocol that uses reverse fqdns for identification.

We can do the backend over TCP/IP, usb, standard serial, etc.

Regards,

Anthony Liguori


More information about the Virtualization mailing list