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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



None of the <feature> bits are supported, and the <loader> piece
is only conditionally supported

Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
---
 src/libxl/libxl_capabilities.c | 6 ++++++
 1 file changed, 6 insertions(+)

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;
 }
 
-- 
2.20.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux