qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Amit Shah
Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication
Date: Thu, 6 Aug 2009 19:34:04 +0530
User-agent: Mutt/1.5.19 (2009-01-05)

On (Thu) Aug 06 2009 [08:58:01], Anthony Liguori wrote:
> 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?

The permission part can be handled by package maintainers and sysadmins
via udev policies.

So all data destined for dbus consumption gets to a daemon and that
daemon then sends it over to dbus.

                Amit




reply via email to

[Prev in Thread] Current Thread [Next in Thread]