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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html