[libvirt] [PATCH 3/8] util: Don't overwrite mask in virResctrlAllocFindUnused

Martin Kletzander mkletzan at redhat.com
Wed Jan 31 12:40:01 UTC 2018


On Wed, Jan 31, 2018 at 10:41:41AM +0100, Martin Kletzander wrote:
>Due to confusing naming the pointer to the mask got copied which must not
>happen, so use UpdateMask instead of SetMask.  That also means we can get
>completely rid of SetMask.
>
>Also don't clear the free bits since it is not used again (leftover from
>previous versions).
>
>Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>---
> src/util/virresctrl.c | 41 ++++++++++++++---------------------------
> 1 file changed, 14 insertions(+), 27 deletions(-)
>

After the last rebase I'm still hitting an issue on non-Linux, I'l send a v2,
sorry for the noise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180131/38691521/attachment-0001.sig>


More information about the libvir-list mailing list