From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication Date: Tue, 25 Aug 2009 15:00:51 +0200 Message-ID: <4A93E083.8060306@redhat.com> References: <20090806173740.GA1178@shareable.org> <200908201701.30467.rusty@rustcorp.com.au> <4A8CFEDD.4000009@redhat.com> <200908252213.06729.rusty@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , Amit Shah , kvm@vger.kernel.org, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org To: Rusty Russell Return-path: Received: from mx1.redhat.com ([209.132.183.28]:21692 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751084AbZHYNBd (ORCPT ); Tue, 25 Aug 2009 09:01:33 -0400 In-Reply-To: <200908252213.06729.rusty@rustcorp.com.au> Sender: kvm-owner@vger.kernel.org List-ID: 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