[libvirt] [PATCH 2/2] bhyve: do not cleanup unallocated networks on fail
Roman Bogorodskiy
bogorodskiy at gmail.com
Fri Jun 13 17:55:50 UTC 2014
Eric Blake wrote:
> 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.
Thanks; pushed.
Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140613/55e46486/attachment-0001.sig>
More information about the libvir-list
mailing list