From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiHH0-0000a3-87 for qemu-devel@nongnu.org; Tue, 22 Mar 2016 04:02:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiHGu-0005Ye-Dl for qemu-devel@nongnu.org; Tue, 22 Mar 2016 04:02:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiHGu-0005YQ-8G for qemu-devel@nongnu.org; Tue, 22 Mar 2016 04:02:36 -0400 References: <1458473954-18583-1-git-send-email-samuel.thibault@ens-lyon.org> <87h9g0ffof.fsf@blackfin.pond.sub.org> <20160321235511.GT4946@var.home> <87d1qnt0x2.fsf@blackfin.pond.sub.org> From: Thomas Huth Message-ID: <56F0FC17.5000805@redhat.com> Date: Tue, 22 Mar 2016 09:02:31 +0100 MIME-Version: 1.0 In-Reply-To: <87d1qnt0x2.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] slirp: Allow to disable IPv4 or IPv6 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , Samuel Thibault Cc: jan.kiszka@siemens.com, jasowang@redhat.com, qemu-devel@nongnu.org On 22.03.2016 08:41, Markus Armbruster wrote: > Samuel Thibault writes: > >> Markus Armbruster, on Mon 21 Mar 2016 08:33:52 +0100, wrote: >>> Samuel Thibault writes: >>>> 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. >>> >>> Do "net=" and "ip6-net=" mean anything useful? If not, wouldn't that be >>> a more natural way to switch off than abusing the wildcard address? >> >> An empty parameter looks odd to me. 0.0.0.0 is used e.g. by ifconfig to >> disable an interface, that's why I thought about it. Perhaps an even >> better way would be net=none and ip6-net=none? > > An empty string as parameter value looks just fine to me. "none" would > be fine, too, because it's not a valid value so far. I acknowledge the > precedence for abusing the wildcard address. Pick something you like. I like the "=none" syntax. Thomas