Message ID | b6cc00f9b7ebeadf8a67dc5e5a633a776f18271b.1550606392.git.crobinso@redhat.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4081097jaa; Tue, 19 Feb 2019 12:11:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IbR5+UrN8TLu+/UuALXFZEazSEPXV5DdhO8iEKl+JYJMBCCvlLLpca05NciVKBWR5pn07BZ X-Received: by 2002:a0c:fcc5:: with SMTP id i5mr8973298qvq.39.1550607063990; Tue, 19 Feb 2019 12:11:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550607063; cv=none; d=google.com; s=arc-20160816; b=GxuLkgJ84gQgHo0J/RF99trUtnQz3YQyUZDihH3gWvHiyRfQFhX+G3DZbzodLJO3ie hPIxFj6S/j0rws5cx4Iwom04UkZhtZRQmYAmfrd4rpF15q/3y+Jqg3bRNlCfyYkdxmZs KE+3eZNm00xIPlcz9uf1a2xQauQ669sQhSFipDLZt+W4LmwetTKXt8WJZQiaJ90X8Ah2 x0bfGMVQCiSjKv8Onla1Im/1r42ord1NFerLn7XPAQCr1hjjl+kSFR8erCpT4C8DBmkA vN1lN/yHwb/5m9gsUHkqn8ZjgKuGgpEqJ8ovdxLwdb3lfczJEn6kex5Pug9KhG+A9EBX p8/Q== 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=iGSgMBKgftfTgy20a87c9U+7wF0oU/Y4xpjO2IVX1TM=; b=dkMgbhRKROksKY5MBmSmNlamuHQpYQZGFuofOxr6nhkPRyYSYBynmbZBjSw9BObA/h dlJIcPaTnrCxm8rltJWoItfzJ2X8XQbs1i9YFfQdh0YzGtLrptb0OGWV7/rXQ1ASuwjE flO9GzXzr3T6IT1krnEwX7TG18ZjC3aq0+5xE3cngEzJwfGO0psqeI3P0CLUWliw3pdH 0UqEtq1yNfiFm9jmlmHyVRfWPekk/Dsag6GAXq8gJ0niuZ37+SLkaRUHdF3BHQiA04cz 96+6ZVqshVb3t5Np8RIhP/+Pr5gVFZyi1fZw/emYvT68rXk2FPA9riRFMt5mjkksztc+ p7rw== 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: <libvir-list-bounces@redhat.com> Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id z16si4611605qta.341.2019.02.19.12.11.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 12:11:03 -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-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0D19CC00732F; Tue, 19 Feb 2019 20:11:02 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BE9DF2C8FA; Tue, 19 Feb 2019 20:11:01 +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 7358F4EE8C; Tue, 19 Feb 2019 20:11:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x1JKAkp9000485 for <libvir-list@listman.util.phx.redhat.com>; Tue, 19 Feb 2019 15:10:46 -0500 Received: by smtp.corp.redhat.com (Postfix) id E21EB60149; Tue, 19 Feb 2019 20:10:46 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.bos.redhat.com (dhcp-17-6.bos.redhat.com [10.18.17.6]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8A4D96013C; Tue, 19 Feb 2019 20:10:46 +0000 (UTC) From: Cole Robinson <crobinso@redhat.com> To: libvirt-list@redhat.com Date: Tue, 19 Feb 2019 15:09:35 -0500 Message-Id: <b6cc00f9b7ebeadf8a67dc5e5a633a776f18271b.1550606392.git.crobinso@redhat.com> In-Reply-To: <cover.1550606392.git.crobinso@redhat.com> References: <cover.1550606392.git.crobinso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 06/10] 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 <libvir-list.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/libvir-list>, <mailto:libvir-list-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/libvir-list> List-Post: <mailto:libvir-list@redhat.com> List-Help: <mailto:libvir-list-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/libvir-list>, <mailto:libvir-list-request@redhat.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 19 Feb 2019 20:11:03 +0000 (UTC) |
Series |
domcaps: use virTristateBool
|
expand
|
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;
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