]> xenbits.xensource.com Git - libvirt.git/commitdiff
libxl: domcaps: fill in explicit supported BOOL_NO
authorCole Robinson <crobinso@redhat.com>
Tue, 19 Feb 2019 19:22:23 +0000 (14:22 -0500)
committerCole Robinson <crobinso@redhat.com>
Mon, 18 Mar 2019 14:51:02 +0000 (10:51 -0400)
None of the <feature> bits are supported, and the <loader> piece
is only conditionally supported

Acked-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/libxl/libxl_capabilities.c

index 385b08be383fa227031e2c48ae3883231fa112be..672c1c7c664e837744d4fcde5d239c3f4a70df98 100644 (file)
@@ -604,6 +604,7 @@ libxlMakeDomainOSCaps(const char *machine,
     size_t i;
 
     os->supported = VIR_TRISTATE_BOOL_YES;
+    capsLoader->supported = VIR_TRISTATE_BOOL_NO;
 
     if (STREQ(machine, "xenpv") || STREQ(machine, "xenpvh"))
         return 0;
@@ -773,6 +774,11 @@ libxlMakeDomainCapabilities(virDomainCapsPtr domCaps,
         libxlMakeDomainDeviceHostdevCaps(hostdev) < 0)
         return -1;
 
+    domCaps->iothreads = VIR_TRISTATE_BOOL_NO;
+    domCaps->vmcoreinfo = VIR_TRISTATE_BOOL_NO;
+    domCaps->genid = VIR_TRISTATE_BOOL_NO;
+    domCaps->gic.supported = VIR_TRISTATE_BOOL_NO;
+
     return 0;
 }