[libvirt] [PATCH] networkStartNetworkVirtual: Don't overwrite error in 'err5'

Peter Krempa pkrempa at redhat.com
Tue Apr 23 14:36:16 UTC 2019


On Tue, Apr 23, 2019 at 16:21:49 +0200, Michal Privoznik wrote:
> If there's an error when setting up QoS on a bridge the control
> jumps over to 'err5' label. Here, the virNetDevBandwidthClear()
> is called to clear out any partially set QoS. This function can
> also report an error which would overwrite the actual error that
> caused us jumping here. 🤦 Use virErrorPreserveLast() to preserve

NACK
-------------- 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/20190423/a77bf8c3/attachment-0001.sig>


More information about the libvir-list mailing list