diff mbox series

[07/10] libxl: domcaps: fill in explicit supported BOOL_NO

Message ID 8992db3fc939c467a36cfff4c666e36b90c601a2.1550606392.git.crobinso@redhat.com
State Superseded
Headers show
Series domcaps: use virTristateBool | expand

Commit Message

Cole Robinson Feb. 19, 2019, 8:09 p.m. UTC
None of the <feature> bits are supported, and the <loader> piece
is only conditionally supported

Signed-off-by: Cole Robinson <crobinso@redhat.com>

---
 src/libxl/libxl_capabilities.c | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
diff mbox series

Patch

diff --git a/src/libxl/libxl_capabilities.c b/src/libxl/libxl_capabilities.c
index 385b08be38..672c1c7c66 100644
--- a/src/libxl/libxl_capabilities.c
+++ b/src/libxl/libxl_capabilities.c
@@ -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;
 }