diff mbox series

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

Message ID b6cc00f9b7ebeadf8a67dc5e5a633a776f18271b.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
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(+)

-- 
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/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;