[libvirt] [PATCH] qemu: fix cleanup of bridge during failure of qemuDomainAttachNetDevice

Eric Blake eblake at redhat.com
Mon Feb 27 18:15:37 UTC 2012


On 02/25/2012 04:40 PM, Laine Stump wrote:
> From: Laine Stump <laine at redhat.com>
> 
> In qemuDomainAttachNetDevice, the guest's tap interface has only been
> attached to the bridge if iface_connected is true. It's possible for
> an error to occur prior to that happening, and previously we would
> attempt to remove the tap interface from the bridge even if it hadn't
> been attached.
> ---
>  src/qemu/qemu_hotplug.c |   11 ++++++-----
>  1 files changed, 6 insertions(+), 5 deletions(-)

ACK - looks like the patch was just the addition of {} followed by
reindentation.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list