[libvirt] [PATCH] lib: Preserve error around virDomainNetReleaseActualDevice()

Peter Krempa pkrempa at redhat.com
Tue Apr 30 15:04:53 UTC 2019


On Tue, Apr 30, 2019 at 16:51:12 +0200, Michal Privoznik wrote:
> This function is calling public API virNetworkLookupByName()
> which resets the error. Therefore, if
> virDomainNetReleaseActualDevice() is used in cleanup path it
> actually resets the original error that got us jump into
> 'cleanup' label.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---

ACK and safe for freeze.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190430/314c3d4a/attachment-0001.sig>


More information about the libvir-list mailing list