From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZ3Tv-0001Xp-5F for qemu-devel@nongnu.org; Thu, 06 Aug 2009 09:58:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZ3Tq-0001WY-Oi for qemu-devel@nongnu.org; Thu, 06 Aug 2009 09:58:10 -0400 Received: from [199.232.76.173] (port=49582 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ3Tq-0001WT-Hu for qemu-devel@nongnu.org; Thu, 06 Aug 2009 09:58:06 -0400 Received: from mail-qy0-f174.google.com ([209.85.221.174]:42139) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZ3Tq-0004c7-2H for qemu-devel@nongnu.org; Thu, 06 Aug 2009 09:58:06 -0400 Received: by qyk4 with SMTP id 4so790103qyk.4 for ; Thu, 06 Aug 2009 06:58:05 -0700 (PDT) Message-ID: <4A7AE169.4000606@codemonkey.ws> Date: Thu, 06 Aug 2009 08:58:01 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication References: <4A6E0C9E.10908@codemonkey.ws> <20090727203214.GG15020@redhat.com> <20090727204627.GA32432@shareable.org> <4A6E3BDC.8050101@codemonkey.ws> <20090728140029.GA16067@amd.home.annexia.org> <4A77410D.4090804@codemonkey.ws> <20090805175713.GB28738@shareable.org> <4A79C8D9.5030606@codemonkey.ws> <20090806103843.GC9222@amit-x200.redhat.com> <4A7ADAC4.70902@codemonkey.ws> <20090806134103.GC11733@amit-x200.redhat.com> In-Reply-To: <20090806134103.GC11733@amit-x200.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: kvm@vger.kernel.org, Rusty Russell , qemu-devel@nongnu.org, "Richard W.M. Jones" , virtualization@lists.linux-foundation.org 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