[libvirt] [PATCH] macvtap: cannot support target device name

Eric Blake eblake at redhat.com
Fri May 28 16:37:48 UTC 2010


On 05/28/2010 10:30 AM, Stefan Berger wrote:
> Since the macvtap device needs active tear-down and the teardown logic
> is based on the interface name, it can happen that if for example 1 out
> of 3 interfaces was successfully created, that during the failure path
> the macvtap's target device name is used to tear down an interface that
> is doesn't own (owned by another VM).
> 
> So, in this patch, the target interface name is reset so that there is
> no target interface name and the interface name is always cleared after
> a tear down.

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100528/f2bcef52/attachment-0001.sig>


More information about the libvir-list mailing list