On 10/22/2013 08:12 PM, Samuel Thibault wrote: > I see. So it would be something like this? > > commit 1807466d691f281f430fbf8c0bbff6bf8073247d > Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> > Date: Tue Oct 22 21:11:46 2013 +0200 > > qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses > > 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::2, fc00::, /64 and fc00::3. > > Signed-off-by: Yann Bordenave <m...@meowstars.org> > Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org>
Yes, this looks better from the interface point of view (I didn't closely review the code though, as I'm not a slirp expert). > { 'type': 'NetdevUserOptions', > 'data': { > - '*hostname': 'str', > - '*restrict': 'bool', > - '*ip': 'str', > - '*net': 'str', > - '*host': 'str', > - '*tftp': 'str', > - '*bootfile': 'str', > - '*dhcpstart': 'str', > - '*dns': 'str', > - '*dnssearch': ['String'], > - '*smb': 'str', > - '*smbserver': 'str', > - '*hostfwd': ['String'], > - '*guestfwd': ['String'] } } > + '*hostname': 'str', > + '*restrict': 'bool', > + '*ip': 'str', > + '*net': 'str', > + '*host': 'str', > + '*tftp': 'str', > + '*bootfile': 'str', > + '*dhcpstart': 'str', > + '*dns': 'str', > + '*dnssearch': ['String'], > + '*ip6-prefix': 'str', > + '*ip6-prefixlen': 'int', > + '*ip6-host': 'str', > + '*ip6-dns': 'str', > + '*smb': 'str', > + '*smbserver': 'str', > + '*hostfwd': ['String'], > + '*guestfwd': ['String'] } } > -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature