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

Anthony Liguori anthony at codemonkey.ws
Thu Aug 6 06:58:01 PDT 2009


Amit Shah wrote:
> On (Thu) Aug 06 2009 [08:29:40], Anthony Liguori wrote:
>   
>> Amit Shah wrote:
>>     
>>> Sure; but there's been no resistance from anyone from including the
>>> virtio-serial device driver so maybe we don't need to discuss that.
>>>   
>>>       
>> There certainly is from me.  The userspace interface is not reasonable  
>> for guest applications to use.
>>     
>
> One example that would readily come to mind is dbus. A daemon running on
> the guest that reads data off the port and interacts with the desktop by
> appropriate dbus commands. All that's needed is a stream of bytes and
> virtio-serial provides just that.
>   

dbus runs as an unprivileged user, how does dbus know which 
virtio-serial port to open and who sets the permissions on that port?

Regards,

Anthony Liguori


More information about the Virtualization mailing list