From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication Date: Tue, 28 Jul 2009 08:42:32 -0500 Message-ID: <4A6F0048.1000103@codemonkey.ws> References: <1248717876-17630-1-git-send-email-amit.shah@redhat.com> <4A6E0C9E.10908@codemonkey.ws> <20090727203214.GG15020@redhat.com> <20090727204627.GA32432@shareable.org> <4A6E3BDC.8050101@codemonkey.ws> <20090728103624.GA5176@amit-x200.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jamie Lokier , "Daniel P. Berrange" , qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org To: Amit Shah Return-path: Received: from mail-pz0-f204.google.com ([209.85.222.204]:58787 "EHLO mail-pz0-f204.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754130AbZG1Nmh (ORCPT ); Tue, 28 Jul 2009 09:42:37 -0400 Received: by pzk42 with SMTP id 42so12262pzk.33 for ; Tue, 28 Jul 2009 06:42:37 -0700 (PDT) In-Reply-To: <20090728103624.GA5176@amit-x200.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Amit Shah wrote: > Right; use virtio just as the transport and all the interesting > activity happens in userspaces. That was the basis with which I started. > I can imagine dbus doing the copy/paste, lock screen, etc. actions. > > However for libguestfs, dbus isn't an option and they already have some > predefined agents for each port. So libguestfs is an example for a > multi-port usecase for virtio-serial. > Or don't use dbus and use something that libguestfs is able to embed. The fact that libguestfs doesn't want dbus in the guest is not an argument for using a higher level kernel interface especially one that doesn't meet the requirements of the interface. Regards, Anthony Liguori