Re: [Qemu-devel] [PATCH v2 1/2] net: introduce MAC_TABLE_CHANGED event
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2013-05-30 13:57:19
Also in:
qemu-devel
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2013-05-30 13:57:19
Also in:
qemu-devel
On Thu, May 30, 2013 at 09:50:35PM +0800, Amos Kong wrote:
On Tue, May 28, 2013 at 08:25:56AM -0400, Luiz Capitulino wrote:quoted
On Tue, 28 May 2013 06:43:04 +0800 Amos Kong [off-list ref] wrote:CC: netdev, vlad Currently we create & open macvtap device by libvirt(management), and pass the fd to qemu process. And macvtap works in promiscuous mode, we want to sync the rx-filter setup of virtio-net to macvtap device for better performance. qemu might be a non-privileged process, it doesn't have permission to setup macvtap device. So we want to add an QMP event to notify management to execute the setup. mac-programming over macvtap patch for qemu: http://lists.nongnu.org/archive/html/qemu-devel/2013-05/msg03337.html Can we re-consider to setup macvtap in qemu directly? open some setup permission of rx-filter to qemu process? will do some investigation.
I don't think that's a good idea. I expect management to do more than blindly apply anything qemu tells it to. For example, check that host admin actually allowed this, or verify that MAC is unique on this host. -- MST