Re: [libvirt] [RFC][PATCH v2 0/2] Dynamic backend setup for macvtap interfaces

2010-03-17 Thread Daniel P. Berrange
On Mon, Mar 08, 2010 at 04:29:42PM -0800, Ed Swierk wrote: I posted this RFC/patch set a few weeks ago but didn't receive any response. My implementation works, but I'd like to hear from anyone more familiar with libvirt concurrency than I (i.e. nearly everyone) about how it might be improved.

Re: [libvirt] [RFC][PATCH v2 0/2] Dynamic backend setup for macvtap interfaces

2010-03-09 Thread Stefan Berger
libvir-list-boun...@redhat.com wrote on 03/08/2010 07:29:42 PM: Using a bridge to connect a qemu NIC to a host interface offers a fair amount of flexibility to reconfigure the host without restarting the VM. For example, if the bridge connects host interface eth0 to the qemu tap0 interface,

Re: [libvirt] [RFC][PATCH v2 0/2] Dynamic backend setup for macvtap interfaces

2010-03-09 Thread Ed Swierk
On Tue, Mar 9, 2010 at 5:27 AM, Stefan Berger stef...@us.ibm.com wrote: The problem I guess is that the underlying interface can disappear at any time due to hotplug leaving you with a race condition at other times as well until a watcher thread detects the change and can act, no? Right. I

[libvirt] [RFC][PATCH v2 0/2] Dynamic backend setup for macvtap interfaces

2010-03-08 Thread Ed Swierk
I posted this RFC/patch set a few weeks ago but didn't receive any response. My implementation works, but I'd like to hear from anyone more familiar with libvirt concurrency than I (i.e. nearly everyone) about how it might be improved. In v2 I rebased against libvirt-0.7.7 and made a bunch of