summaryrefslogtreecommitdiff
path: root/tests/genericxml2xmltest.c
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2017-04-24 15:40:07 +0200
committerJiri Denemark <jdenemar@redhat.com>2017-04-27 22:07:14 +0200
commita646a6016a7c62688988f7cfaa22e1340c2ce761 (patch)
tree37c93c228a37907929e33f2de616cddd41f898ae /tests/genericxml2xmltest.c
parente841a41169dd726af13f29cb57fbafe658b7011a (diff)
downloadlibvirt-a646a6016a7c62688988f7cfaa22e1340c2ce761.tar.gz
Add support for CPU cache specification
This patch introduces <cache level='N' mode='emulate'/> <cache mode='passthrough'/> <cache mode='disable'/> sub element of /domain/cpu. Currently only a single <cache> element is allowed. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Diffstat (limited to 'tests/genericxml2xmltest.c')
-rw-r--r--tests/genericxml2xmltest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/genericxml2xmltest.c b/tests/genericxml2xmltest.c
index 1cda18cd93..5bce00e211 100644
--- a/tests/genericxml2xmltest.c
+++ b/tests/genericxml2xmltest.c
@@ -100,6 +100,10 @@ mymain(void)
DO_TEST("vcpus-individual");
+ DO_TEST("cpu-cache-emulate");
+ DO_TEST("cpu-cache-passthrough");
+ DO_TEST("cpu-cache-disable");
+
virObjectUnref(caps);
virObjectUnref(xmlopt);