[libvirt] [PATCH 09/10] util: Remove cbm_mask from virResctrlInfoPerType

Ján Tomko jtomko at redhat.com
Thu Jun 7 22:38:11 UTC 2018


On Thu, Jun 07, 2018 at 03:54:30PM +0200, Martin Kletzander wrote:
>It was used just temporarily to do a calculation, no need to keep that around.
>Also use virBitmap in the code instead of reimplementing two of its existing
>functions.  And move the counting part next to where the value is read.
>
>Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>---
> src/util/virresctrl.c | 37 ++++++++++++++++---------------------
> 1 file changed, 16 insertions(+), 21 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- 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/20180608/00cf666b/attachment-0001.sig>


More information about the libvir-list mailing list