From patchwork Wed Mar 6 23:36:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 159772 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp6773935jad; Wed, 6 Mar 2019 15:37:41 -0800 (PST) X-Google-Smtp-Source: APXvYqz6YwQ7IeQLPe5aPeCOtCThxWUXHkmH+pf/t5venNAI0wQAmr7zfm57KKK+DKqSihGSYipq X-Received: by 2002:ac8:31ab:: with SMTP id h40mr8142594qte.122.1551915461813; Wed, 06 Mar 2019 15:37:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551915461; cv=none; d=google.com; s=arc-20160816; b=Evp0VVnuXELvk9Of5X9lcEkCO/NF7aOZI3f5vx+R5AzYJoSU2W/5x3nrIIet4k+qkQ I+kRFVt8KtoC4rfs/urunbkLMDvt9RTQ5XasNlTphDP7o8EjI4nJF+K3j9nL9o4PlODj ulLoy1eOTl09bGRpuRWhSEBaYBmWZPAR0syEAV0BDhegS0jNRwYO+6ittDQQeRiYK+58 Lk6ApzWZy56IyYJnUMOU8c9uXTuaVM53PxdPLze6dnfeKvo2LYFfcENL/1BlCRPBxqsL lVrFv+Y3xktccIxnmd0rmbsFCi6yc/hM67jwl+pK3/xhh63wJwMMLZgOMXMMipbNSLia fjwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :delivered-to; bh=x0bAIhm84Ih/KYyvsBVyTOZhxQBarAuxs4igS7wTGSg=; b=Uf4aT7QTFDfV9FA8cpR/H6yPY+n6+se+nI0uU5uLnLcVi/kZN/a6/e1ZwW9SQ8Yu3+ g2RZIpt8UIoccEA2jzM1zv7KSpRHndmyyFW26+5nd3XMraFHEFPVubTDqGxGcv1o+ikO EupDAzA61RijMNxhyRtysGcoLM9THzfR6s+RQmuDDFMY84Ixh7tI6FhamlOnMzqeG1YL V8yiMFHXtZ4zoQ24QqyhYFzd2p2Z5krXWJsie9hzS4b9vUHqbd0vppMfd99yrLDCxByF 2snhW7zfP3dU6fX0s4EwN9LopsAv44sb1WPPi+fHqNPTCzas5J0+yYIXe8/FK4pZR+9O dP5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id q13si381306qtb.309.2019.03.06.15.37.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 15:37:41 -0800 (PST) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8885F80F83; Wed, 6 Mar 2019 23:37:40 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 60C025D719; Wed, 6 Mar 2019 23:37:40 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 1E9BF181A1E6; Wed, 6 Mar 2019 23:37:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x26NbIpi005193 for ; Wed, 6 Mar 2019 18:37:18 -0500 Received: by smtp.corp.redhat.com (Postfix) id E70E81001E61; Wed, 6 Mar 2019 23:37:18 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.redhat.com (ovpn-121-104.rdu2.redhat.com [10.10.121.104]) by smtp.corp.redhat.com (Postfix) with ESMTP id 825DE1001DE2; Wed, 6 Mar 2019 23:37:18 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Wed, 6 Mar 2019 18:36:55 -0500 Message-Id: <4d626a58bd7f54bd4e367542d7ed0276bbf14961.1551914794.git.crobinso@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v2 06/16] qemu: domcaps: fill in explicit supported BOOL_NO X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 06 Mar 2019 23:37:41 +0000 (UTC) Only gic->supported needs an explicit BOOL_NO setting, all other 'supported' values are handling things correctly Signed-off-by: Cole Robinson --- 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 --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 6a0ec0d1bd..3611fb92d8 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;