Re: [Qemu-devel] [PATCH 06/12] qapi: add socket address types

2012-09-20 Thread Paolo Bonzini
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

[Qemu-devel] [PATCH 06/12] qapi: add socket address types

2012-09-19 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- qapi-schema.json | 53 + 1 file modificato, 53 inserzioni(+) diff --git a/qapi-schema.json b/qapi-schema.json index a9f465a..1588372 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@

Re: [Qemu-devel] [PATCH 06/12] qapi: add socket address types

2012-09-19 Thread Eric Blake
On 09/19/2012 08:31 AM, Paolo Bonzini wrote: Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- qapi-schema.json | 53 + 1 file modificato, 53 inserzioni(+) ## +# @IPSocketAddress +# +# Captures the destination address of an IP