From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEbhf-0001T6-TX for qemu-devel@nongnu.org; Thu, 20 Sep 2012 04:01:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEbhe-0005qq-W9 for qemu-devel@nongnu.org; Thu, 20 Sep 2012 04:01:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEbhe-0005qi-O2 for qemu-devel@nongnu.org; Thu, 20 Sep 2012 04:01:42 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8K81geU027958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 20 Sep 2012 04:01:42 -0400 Message-ID: <505ACD64.9020001@redhat.com> Date: Thu, 20 Sep 2012 10:01:40 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1348065078-5139-1-git-send-email-pbonzini@redhat.com> <1348065078-5139-7-git-send-email-pbonzini@redhat.com> <5059FEDC.6020900@redhat.com> In-Reply-To: <5059FEDC.6020900@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 06/12] qapi: add socket address types List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, lcapitulino@redhat.com Il 19/09/2012 19:20, Eric Blake ha scritto: >> > +{ 'type': 'IPSocketAddress', >> > + 'data': { >> > + 'host': 'str', >> > + 'port': 'str', >> > + '*to': 'uint16', > Why is 'port' a string, but 'to' a uint16? Shouldn't they both be uint16? port can be a service name. Paolo