From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYlHh-0004nh-36 for qemu-devel@nongnu.org; Wed, 05 Aug 2009 14:32:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYlHc-0004lP-Gc for qemu-devel@nongnu.org; Wed, 05 Aug 2009 14:32:20 -0400 Received: from [199.232.76.173] (port=48865 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYlHc-0004l9-6Z for qemu-devel@nongnu.org; Wed, 05 Aug 2009 14:32:16 -0400 Received: from mx2.redhat.com ([66.187.237.31]:56138) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYlHb-0003M6-Na for qemu-devel@nongnu.org; Wed, 05 Aug 2009 14:32:16 -0400 Date: Wed, 5 Aug 2009 19:32:04 +0100 From: "Richard W.M. Jones" Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication Message-ID: <20090805183204.GI3501@amd.home.annexia.org> 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> <20090728140029.GA16067@amd.home.annexia.org> <4A77410D.4090804@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A77410D.4090804@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org On Mon, Aug 03, 2009 at 02:57:01PM -0500, Anthony Liguori wrote: > Richard W.M. Jones wrote: >> On Mon, Jul 27, 2009 at 06:44:28PM -0500, Anthony Liguori wrote: >> >>> It really suggests that you need _one_ vmchannel that's exposed to >>> userspace with a single userspace daemon that consumes it. >>> >> >> ... or a more flexible API. I don't like having fixed /dev/vmch* >> devices either. >> > > Have you considered using a usb serial device? Something attractive > about it is that a productid/vendorid can be specified which means that > you can use that as a method of enumerating devices. > > Hot add/remove is supported automagically. [ Meant to reply to this two days ago :-( ] We're using -net channel ^W guestfwd in libguestfs now. Apart from the problem with using the "new syntax", which I hope to get around to resolving some day, it performs quite well. The userspace API is somewhat annoying. Hot add/remove isn't a concern for us right now, nor is migration. Since we can throw up new qemu-based appliances in a few seconds. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw