[libvirt] [PATCH 07/10] tests: Add virresctrltest
Pavel Hrdina
phrdina at redhat.com
Wed Jan 24 14:13:07 UTC 2018
On Tue, Jan 23, 2018 at 07:05:16PM +0100, Martin Kletzander wrote:
> This test initializes capabilities from vircaps2xmldata (since it exists there
> already) and then requests list of free bitmaps (all unallocated space) from
> virresctrl.c
>
> Desirable outputs are saved in virresctrldata.
>
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
> tests/Makefile.am | 9 +-
> tests/virresctrldata/resctrl-cdp.schemata | 2 +
> .../virresctrldata/resctrl-skx-twocaches.schemata | 1 +
> tests/virresctrldata/resctrl-skx.schemata | 1 +
> tests/virresctrldata/resctrl.schemata | 1 +
> tests/virresctrltest.c | 102 +++++++++++++++++++++
> 6 files changed, 115 insertions(+), 1 deletion(-)
> create mode 100644 tests/virresctrldata/resctrl-cdp.schemata
> create mode 100644 tests/virresctrldata/resctrl-skx-twocaches.schemata
> create mode 100644 tests/virresctrldata/resctrl-skx.schemata
> create mode 100644 tests/virresctrldata/resctrl.schemata
> create mode 100644 tests/virresctrltest.c
The output data will need to be modified if we change the behavior of
what we consider as free cache.
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: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180124/b4f8b628/attachment-0001.sig>
More information about the libvir-list
mailing list