[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] slirp: Allow to disable IPv4 or IPv6

From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH] slirp: Allow to disable IPv4 or IPv6
Date: Wed, 23 Mar 2016 10:13:19 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

On Sun, Mar 20, 2016 at 12:39:14PM +0100, Samuel Thibault wrote:
> Make net= 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.

|: 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

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