[libvirt] [PATCH 2/2] bhyve: do not cleanup unallocated networks on fail

Eric Blake eblake at redhat.com
Fri Jun 13 16:59:38 UTC 2014


On 06/13/2014 10:48 AM, Roman Bogorodskiy wrote:
> virBhyveProcessStart() calls bhyveNetCleanup() if it fails. However,
> it might fail earlier than networks are allocated, so modify
> bhyveNetCleanup() to check if net->ifname is not NULL before
> going further with the cleanup.
> ---
>  src/bhyve/bhyve_process.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

ACK.

-- 
Eric Blake   eblake 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: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140613/875a7e39/attachment-0001.sig>


More information about the libvir-list mailing list