From: Cole Robinson Date: Tue, 19 Feb 2019 19:15:06 +0000 (-0500) Subject: qemu: domcaps: fill in explicit supported BOOL_NO X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=cd35c4af60d10a57d5b10764b54ed36143e4839e;p=libvirt.git qemu: domcaps: fill in explicit supported BOOL_NO Only gic->supported needs an explicit BOOL_NO setting, all other 'supported' values are handling things correctly Acked-by: Michal Privoznik Signed-off-by: Cole Robinson --- diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 4fb0db7494..59e101f37b 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -5212,6 +5212,8 @@ virQEMUCapsFillDomainFeatureGICCaps(virQEMUCapsPtr qemuCaps, virDomainCapsFeatureGICPtr gic = &domCaps->gic; virGICVersion version; + gic->supported = VIR_TRISTATE_BOOL_NO; + if (!qemuDomainMachineIsARMVirt(domCaps->machine, domCaps->arch)) return 0;