From patchwork Wed Mar 6 23:36:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 159769 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp6773889jad; Wed, 6 Mar 2019 15:37:38 -0800 (PST) X-Google-Smtp-Source: APXvYqxQ/jNdQjMipMOTW4bG+AHNEh0EeVon/r19dUWzcHgxxb5dX1CJnFbecSfJTfRkf0H6m9u2 X-Received: by 2002:a37:aa8d:: with SMTP id t135mr7666576qke.202.1551915458391; Wed, 06 Mar 2019 15:37:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551915458; cv=none; d=google.com; s=arc-20160816; b=k6JqFtsArgJqNhPBD04Skev1TSNMV/i/pFJUIXAoxx3Ykiry5qxOBmtfatThHmbcPX 0jnXCx9Tf3mssY2/nXRJDGfKHl/e9b5uqmN7DOo2MrevhNzqEk6DcumumU5egj/GOV8s jLFR8diydQZmoTYCpJXdnIiPZo4oDvyl6MjQbmfDTvIWTgDlIdl8axP8Jz7ogzclVwHq +XO3bjYQBPDtI1ZKjyK6lMr62s5OkircrLs3pRcNbaOg7cYwutnSZ7Ae3XlX2NnbrizU JCasosHhHLykYLyPwYeOfHCODv3P7RmNzjTiHp+DExmpTeZvxFRhaORjeHHtW+nhizdh Gc9g== 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=h7JWQy7FMQ7SUJjIWuK+U/oPYB6xstkR/Wk8dnpSTcA=; b=VViNTKyQDdpSmNKBob8f8/ztz+4QonH6NID2S+XqKN2RKrR6GogLvUT1z8lk/JB5S1 ZvvidRB8DXXpoLjvujNRYLqZiMLi49W64QaaX+HCLapIbaMgaOJ4hdrocNApQcHQ22GG N4JVGqMrEGdtdK4k0LjKnOn5RnOnKvEFrcmdLSYupOzR/NTgZflJ0TzwwkQUSwBjJsGq kJmxAs/TKyYFtOkbQZcIvfnfGpRPfdzez1fZ3otxsRrZbm5tzFfNULhLgeM5FOQ4jdJZ ECVS5KQrWeuKqSd2HjqpEM+SL0YDreO23y9HRe14D7SdRMsBANF/ehPj2vkkmvZ5tytI RHyw== 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 w9si1822298qki.247.2019.03.06.15.37.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 15:37:38 -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-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 109F0C0467FA; Wed, 6 Mar 2019 23:37:37 +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 DC50B60141; Wed, 6 Mar 2019 23:37:36 +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 9AA4A181A13B; Wed, 6 Mar 2019 23:37:36 +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 x26NbJId005198 for ; Wed, 6 Mar 2019 18:37:19 -0500 Received: by smtp.corp.redhat.com (Postfix) id 8655B1001E63; Wed, 6 Mar 2019 23:37:19 +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 2223D1001E60; Wed, 6 Mar 2019 23:37:19 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Wed, 6 Mar 2019 18:36:56 -0500 Message-Id: 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 07/16] libxl: 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.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 06 Mar 2019 23:37:37 +0000 (UTC) None of the bits are supported, and the piece is only conditionally supported Signed-off-by: Cole Robinson --- src/libxl/libxl_capabilities.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/src/libxl/libxl_capabilities.c b/src/libxl/libxl_capabilities.c index 385b08be38..672c1c7c66 100644 --- a/src/libxl/libxl_capabilities.c +++ b/src/libxl/libxl_capabilities.c @@ -604,6 +604,7 @@ libxlMakeDomainOSCaps(const char *machine, size_t i; os->supported = VIR_TRISTATE_BOOL_YES; + capsLoader->supported = VIR_TRISTATE_BOOL_NO; if (STREQ(machine, "xenpv") || STREQ(machine, "xenpvh")) return 0; @@ -773,6 +774,11 @@ libxlMakeDomainCapabilities(virDomainCapsPtr domCaps, libxlMakeDomainDeviceHostdevCaps(hostdev) < 0) return -1; + domCaps->iothreads = VIR_TRISTATE_BOOL_NO; + domCaps->vmcoreinfo = VIR_TRISTATE_BOOL_NO; + domCaps->genid = VIR_TRISTATE_BOOL_NO; + domCaps->gic.supported = VIR_TRISTATE_BOOL_NO; + return 0; }