From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W37qX-0001nq-0V for qemu-devel@nongnu.org; Tue, 14 Jan 2014 12:32:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W37qS-0000SH-6h for qemu-devel@nongnu.org; Tue, 14 Jan 2014 12:32:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:10544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W37qR-0000Rx-VT for qemu-devel@nongnu.org; Tue, 14 Jan 2014 12:32:08 -0500 Message-ID: <52D5748F.2020600@redhat.com> Date: Tue, 14 Jan 2014 18:31:59 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1389719733-7689-1-git-send-email-william@gandi.net> In-Reply-To: <1389719733-7689-1-git-send-email-william@gandi.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tap: add the possibility to specify a tap prefix List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: William Dauchy Cc: Mark McLoughlin , Jason Wang , Laszlo Ersek , qemu-devel@nongnu.org, "Michael S. Tsirkin" Il 14/01/2014 18:15, William Dauchy ha scritto: > this will permit to specify an interface prefix to the tap instead of the > default one ("tap") > this functionnality is useful when you need an easy way to find the > interfaces attached to a given virtual machine > > example: > -net bridge,prefix=tapvmA. -net bridge,prefix=tapvmA. > will create `tapvmA.0` and `tapvmA.1` > `brctl show | grep vmA` will be an easy way to find the interfaces > attached to the vmA > > Signed-off-by: I think this was nacked already in the past. You would need to implement some kind of ACL system like the one that is in place for bridges. Without it, for example, you could hijack existing iptables rules. Sorry for the bad news. :) Paolo