diff mbox series

[v2,07/16] libxl: domcaps: fill in explicit supported BOOL_NO

Message ID d1fa257a48c5e7253c192a6f42b30785f4a9ba00.1551914794.git.crobinso@redhat.com
State Accepted
Commit 697fb8a3815035b8308481ca854a40bd0b1e69b1
Headers show
Series domcaps: use virTristateBool | expand

Commit Message

Cole Robinson March 6, 2019, 11:36 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;
 }