From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <200908201701.30467.rusty@rustcorp.com.au> References: <20090806173740.GA1178@shareable.org> <4A856B5E.2000303@redhat.com> <4A858FFC.7000607@codemonkey.ws> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Gerd Hoffmann , Amit Shah , kvm@vger.kernel.org, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org To: Anthony Liguori Return-path: Received: from ozlabs.org ([203.10.76.45]:41372 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753407AbZHTHbe (ORCPT ); Thu, 20 Aug 2009 03:31:34 -0400 In-Reply-To: <4A858FFC.7000607@codemonkey.ws> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: 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.