qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses
Date: Mon, 21 Oct 2013 22:04:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 10/20/2013 03:56 PM, Samuel Thibault wrote:
> This patchs adds parameters to manage some new options in the qemu -net
> command.
> Slirp IPv6 address, network prefix, and DNS IPv6 address can be given in
> argument to the qemu command.
> Defaults parameters are respectively fc00::1, fc00::, /64 and fc00::2.
> 
> Signed-off-by: Yann Bordenave <address@hidden>
> ---

Just focusing on interface for now...

> +++ b/qapi-schema.json
> @@ -2807,6 +2807,12 @@
>  # @dnssearch: #optional list of DNS suffixes to search, passed as DHCP option
>  #             to the guest
>  #
> +# @ip6_prefix: #optional IPv6 network prefix

Please mention '(since 1.8)' for each new field.  Also, this command
doesn't have any '_', so your new field names should be named with '-',
as in @ip6-prefix

> +#
> +# @ip6_host: guest-visible IPv6 address of the host
> +#
> +# @ip6_dns: guest-visible IPv6 address of the virtual nameserver
> +#
>  # @smb: #optional root directory of the built-in SMB server
>  #
>  # @smbserver: #optional IP address of the built-in SMB server
> @@ -2820,20 +2826,23 @@
>  ##

> +    '*ip6_prefix':      'str',

Why is this a str instead of an integer?

> +    '*ip6_host':        'str',
> +    '*ip6_dns':         'str',

These look okay (other than the - vs _ issue)

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]