On Sun, Mar 20, 2016 at 12:39:14PM +0100, Samuel Thibault wrote:
> Make net=0.0.0.0 disable IPv4 and ip6-net=:: disable IPv6, so the user can
> setup IPv4-only and IPv6-only network environments.

I really don't like this kind of magic because it is totally invisible
to the user unless they read the docs.

With the SocketAddress QAPI schema (that is exposed on the command line
via -chardev and -vnc options) we already defined a clear way to disable
IPv4/6 via boolean flags

  ipv4=on|off   &   ipv6=on|off

when users see a boolean 'ipv6' option it is pretty clear what it can
do without needing them to read the docs. So can we just use this same
syntax for slirp too.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

Reply via email to