From patchwork Tue Feb 19 20:09:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 158734 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4081119jaa; Tue, 19 Feb 2019 12:11:05 -0800 (PST) X-Google-Smtp-Source: AHgI3IaBJyBtzc+5MPxIgVh8ljiXq7Z4nELNHVTem+YUZOiDU4i+vFmdagymM2VpXTsE9l1VZdpS X-Received: by 2002:aed:3aaa:: with SMTP id o39mr24268848qte.109.1550607065018; Tue, 19 Feb 2019 12:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550607065; cv=none; d=google.com; s=arc-20160816; b=ZO13/dr36ZM7EPa6HzGnlVCWjgKAObm5JtATmxO4QUNjZcoCwieSHaLq59xzHObWqT 75v1oy7cGNB9jX4o3uNljDJ1BJIbfim/W5y6OHu/nuJViyQ84Vc18tIh0e5plIQjLm0t DOnIlZ90WoFdTrEy92hxDN2yGeZOIXqXH03lklitvFhILJJ6s/Kqz7tU/2PnNZpYdbwM KcKIhTa4y+T5JWWoBMN2RBnFtoAhm5axgUKvaoWn1x6QJN2LIWz676mEHRWGCRbvJNPa 9k5F1yfgjPM71Zop9F/IXGli/Y9eFy0UENcoH6SlHq8+q/6U07AMT0ugkmNICMWv5nWe MUQw== 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=SA1jhABQ/AaVxDDxHUPlPDUi1VuLK5Wc6J6j4DAA3A8jJ8NqOT9XcLdDC2CnIwOxrh kFOB5Y0TFYFnRT5hxdfeKwl+d7A5I6kY/G7YORBhtj2TVWoGjkJHXej9RujSUw6TeVK6 HfWP+CZh64iEW5uDzwsw80tA4dMq731neZNn95GNQAxReCtYcdZHH5OH6VjKpKOrs9sq b/kGnBiNe0cYGtWhr3LUTcD4qPp92eA2aN4pXrgRoonW96I24xatOTeiegSvDgqFj8Kd HxcO9+afv6JwjOcsiFzKTHB5BR4isY0Or9wKD0oxVYLGPz/6XCF87bN8grNW3Vt6R4Lr W+AQ== 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 u26si639645qvf.37.2019.02.19.12.11.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 12:11:05 -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 5D13889AD6; 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 247B35D71D; Tue, 19 Feb 2019 20:11:02 +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 BE16B4EEEA; 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 x1JKAl6F000490 for ; Tue, 19 Feb 2019 15:10:47 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6CE9D60141; Tue, 19 Feb 2019 20:10:47 +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 147986013C; Tue, 19 Feb 2019 20:10:46 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Tue, 19 Feb 2019 15:09:36 -0500 Message-Id: <8992db3fc939c467a36cfff4c666e36b90c601a2.1550606392.git.crobinso@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 07/10] 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.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 19 Feb 2019 20:11:04 +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; }