From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Me27i-0004ME-0o for qemu-devel@nongnu.org; Thu, 20 Aug 2009 03:31:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Me27d-0004M1-Jz for qemu-devel@nongnu.org; Thu, 20 Aug 2009 03:31:49 -0400 Received: from [199.232.76.173] (port=40197 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me27d-0004Ly-FN for qemu-devel@nongnu.org; Thu, 20 Aug 2009 03:31:45 -0400 Received: from mx20.gnu.org ([199.232.41.8]:30607) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Me27d-0000M7-1t for qemu-devel@nongnu.org; Thu, 20 Aug 2009 03:31:45 -0400 Received: from ozlabs.org ([203.10.76.45]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Me27Y-0001a5-Q5 for qemu-devel@nongnu.org; Thu, 20 Aug 2009 03:31:42 -0400 From: Rusty Russell Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for =?iso-8859-1?q?host-guest=09communication?= Date: Thu, 20 Aug 2009 17:01:29 +0930 References: <20090806173740.GA1178@shareable.org> <4A856B5E.2000303@redhat.com> <4A858FFC.7000607@codemonkey.ws> In-Reply-To: <4A858FFC.7000607@codemonkey.ws> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908201701.30467.rusty@rustcorp.com.au> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Amit Shah , virtualization@lists.linux-foundation.org, Gerd Hoffmann , kvm@vger.kernel.org, qemu-devel@nongnu.org On Sat, 15 Aug 2009 01:55:32 am Anthony Liguori wrote: > Gerd Hoffmann wrote: > > Also I still think passing a 'protocol' string for each port is a good > > idea, so you can stick that into a sysfs file for guests use. > > Or drops ports altogether and just use protocol strings... Both is silly, yes. I guess strings + HAL magic can make the /dev names sane. I don't want to see userspace trolling through sysfs to figure out what device to open. Which is why I prefer assigned numbers, which get mapped to minors. Rusty.