From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LN8oe-0005gy-Ch for qemu-devel@nongnu.org; Wed, 14 Jan 2009 11:42:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LN8oc-0005dl-Ix for qemu-devel@nongnu.org; Wed, 14 Jan 2009 11:42:03 -0500 Received: from [199.232.76.173] (port=60037 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LN8oc-0005dH-DL for qemu-devel@nongnu.org; Wed, 14 Jan 2009 11:42:02 -0500 Received: from mail2.shareable.org ([80.68.89.115]:56835) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LN8ob-0001ku-W7 for qemu-devel@nongnu.org; Wed, 14 Jan 2009 11:42:02 -0500 Date: Wed, 14 Jan 2009 16:41:55 +0000 From: Jamie Lokier Subject: Re: [Qemu-devel] Re: [PATCH 1/5] virtio-net: Allow setting the MAC address via set_config Message-ID: <20090114164155.GA6431@shareable.org> References: <1231881829.9095.191.camel@bling> <496DB8D1.2070101@redhat.com> <1231947298.7109.262.camel@lappy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1231947298.7109.262.camel@lappy> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Mark McLoughlin , dlaor@redhat.com, kvm Alex Williamson wrote: > > What if the guest will chose the host's mac? > > Thinking about it, I don't think we should test that. > > A concerned host mgmt app can add ebtables roles for such a case. > > > > Maybe we can optionally allow/deny it? > > What's the topology you're thinking of that the virtio-net MAC is also > the host MAC? I typically use a bridge with a tap device, so the > virtio-net MAC is isolated from the host. Thanks, For example you might forward IPX packets to the guest and IP/ARP to the host, using an ebtables rule to distinguish them. From the outside, it would look equivalent to a single host processing both IPX and IP. -- Jamie