[libvirt] [PATCH v2] Report more correct information for cache control
Pavel Hrdina
phrdina at redhat.com
Fri Jun 16 07:12:44 UTC 2017
On Fri, Jun 09, 2017 at 10:52:20AM +0200, Martin Kletzander wrote:
> On some platforms the number of bits in the cbm_mask might not be
> divisible by 4 (and not even by 2), so we need to properly count the
> bits. Similar file, min_cbm_bits, is properly parsed and used, but if
> the number is greater than one, we lose the information about
> granularity when reporting the data in capabilities. For that matter
> always report granularity, but if it is not the same as the minimum,
> add that information in there as well.
>
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
> v2:
> - More expressive comments for structure members
> - Cache size adjusted to match the SKX machine (33M)
>
> v1:
> - https://www.redhat.com/archives/libvir-list/2017-June/msg00229.html
>
> docs/schemas/capability.rng | 7 ++++-
> src/conf/capabilities.c | 34 ++++++++++++++++++----
> src/conf/capabilities.h | 11 +++++--
Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- 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/20170616/418de94e/attachment-0001.sig>
More information about the libvir-list
mailing list