]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Remove cbm_mask from virResctrlInfoPerType
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 8 Feb 2018 15:02:04 +0000 (16:02 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 8 Jun 2018 08:28:46 +0000 (10:28 +0200)
commit6142758a57dfd5f9737467ac76e37263baef4cbc
treef60b56cf175ba26a452dd40628ed292f58802e4f
parentf1d7625e135add2550dd4c9ae43f905359633734
util: Remove cbm_mask from virResctrlInfoPerType

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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virresctrl.c