[libvirt] [PATCH 06/10] qemu: domcaps: fill in explicit supported BOOL_NO

Cole Robinson posted 10 patches 6 years, 11 months ago
There is a newer version of this series
[libvirt] [PATCH 06/10] qemu: domcaps: fill in explicit supported BOOL_NO
Posted by Cole Robinson 6 years, 11 months ago
Only gic->supported needs an explicit BOOL_NO setting, all other
'supported' values are handling things correctly

Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
 src/qemu/qemu_capabilities.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index ea75177f39..bcf3bec03e 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -5403,6 +5403,8 @@ virQEMUCapsFillDomainFeatureGICCaps(virQEMUCapsPtr qemuCaps,
     virDomainCapsFeatureGICPtr gic = &domCaps->gic;
     virGICVersion version;
 
+    gic->supported = VIR_TRISTATE_BOOL_NO;
+
     if (!qemuDomainMachineIsARMVirt(domCaps->machine, domCaps->arch))
         return 0;
 
-- 
2.20.1

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