libxc/bitops: increase potential size of bitmaps
authorOlaf Hering <olaf@aepfle.de>
Thu, 24 Sep 2020 18:08:43 +0000 (20:08 +0200)
committerWei Liu <wl@xen.org>
Wed, 30 Sep 2020 15:10:26 +0000 (15:10 +0000)
commit50a5215f30e964a6f16165ab57925ca39f31a849
tree06503f39a0138f64abf1f0f29dd3101daae9166f
parent27de84d3ae462bd8311c8267c642ec95afdcf47c
libxc/bitops: increase potential size of bitmaps

If the bitmap is used to represent domU pages, the amount of memory is
limited to 8TB due to the 32bit value. Adjust the code to use 64bit
values as input. All callers already use some form of 64bit as input,
so no further adjustment is required.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/libs/ctrl/xc_bitops.h