From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mfvec-00018A-RD for qemu-devel@nongnu.org; Tue, 25 Aug 2009 09:01:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfveX-00015s-74 for qemu-devel@nongnu.org; Tue, 25 Aug 2009 09:01:37 -0400 Received: from [199.232.76.173] (port=38108 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfveW-00015g-LX for qemu-devel@nongnu.org; Tue, 25 Aug 2009 09:01:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7983) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfveW-0005yg-1E for qemu-devel@nongnu.org; Tue, 25 Aug 2009 09:01:32 -0400 Message-ID: <4A93E083.8060306@redhat.com> Date: Tue, 25 Aug 2009 15:00:51 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication References: <20090806173740.GA1178@shareable.org> <200908201701.30467.rusty@rustcorp.com.au> <4A8CFEDD.4000009@redhat.com> <200908252213.06729.rusty@rustcorp.com.au> In-Reply-To: <200908252213.06729.rusty@rustcorp.com.au> 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: Rusty Russell Cc: Amit Shah , virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, qemu-devel@nongnu.org On 08/25/09 14:43, Rusty Russell wrote: > On Thu, 20 Aug 2009 05:14:29 pm Gerd Hoffmann wrote: >> I think strings are better as numbers for identifying protocols as you >> can work without a central registry for the numbers then. > > Yep, all you need is a central registry for names :) There are schemes to do without (reverse domain names, i.e. au.com.rustcorp.* is all yours and you don't have to register). Also with names the namespace is much bigger and clashes are much less likely, so chances that it works out with everybody simply picking a sane name are much higher. cheers, Gerd