From nobody Wed Apr 15 07:04:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1770900871; cv=none; d=zohomail.com; s=zohoarc; b=EanQ7irj5CpcyXLjyf8Q8QBRFun15WiudgOpDekS+LmnXzzKt3iv3ZgWQIbniGK5QH8saab92X3c0V9hz3wMDuaQAjlgjC8uqx4EtL9IGSW83kTZ8YOBZGQb9nenav/FyU93WWjNizB1xxca7v2ybLuyK8CEQXN7ol2ccSQdW28= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770900871; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=kSmOT/gmqIVHJnNCxRX+2Jtv04LT5S9hPv6pdmAq1n8=; b=LUM0RTxV9SYqaxYpHuvFacipjU40ErqMkTgs2lsZLYQonAzHx5HIH7rq5kvtuhKcxl4mKV+pUSdfDlJgc5U0oRNJna9ccyajbJ1TK0j+YphIzkrphHobotUokbdP94CEgYAG/+fE9PfcCCOy5veONnkDNjYvbPa08G4vHCfs480= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1770900863730599.7143534438412; Thu, 12 Feb 2026 04:54:23 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 89CE941D0C; Thu, 12 Feb 2026 07:54:22 -0500 (EST) Received: from [172.19.199.6] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id C9CB143E70; Thu, 12 Feb 2026 07:51:28 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id CDD823F307; Thu, 12 Feb 2026 07:50:43 -0500 (EST) Received: from mx1.osci.io (unknown [8.43.85.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 6B3DB451EE for ; Thu, 12 Feb 2026 07:39:00 -0500 (EST) Received: by mx1.osci.io (Postfix, from userid 995) id 992542AAC8; Wed, 11 Feb 2026 05:45:34 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mx1.osci.io (Postfix) with ESMTPS id 34B3A2AAC5 for ; Wed, 11 Feb 2026 05:45:34 -0500 (EST) Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-453-yoLr63GzPxqYQAoKBCc88A-1; Wed, 11 Feb 2026 05:45:32 -0500 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0C9581955E77 for ; Wed, 11 Feb 2026 10:45:31 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.44.34.211]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4DA991800668 for ; Wed, 11 Feb 2026 10:45:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806733; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kSmOT/gmqIVHJnNCxRX+2Jtv04LT5S9hPv6pdmAq1n8=; b=OZyg5qwYWuQy1Uvq8w1RifuR4AoSxiBVoJJrFdVhQpAEHVvAhzBm3Cf+JFRKgFmOEWPhnf nTUfl3spkVr34q8SFc+VynfFayhgoIG3jqqQpoWMFshjxM9v/RAxf2GYq2wyhTkjtG1P6G SCaPKp+H5118b0pipK90cfItMJhFUZk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806733; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kSmOT/gmqIVHJnNCxRX+2Jtv04LT5S9hPv6pdmAq1n8=; b=OZyg5qwYWuQy1Uvq8w1RifuR4AoSxiBVoJJrFdVhQpAEHVvAhzBm3Cf+JFRKgFmOEWPhnf nTUfl3spkVr34q8SFc+VynfFayhgoIG3jqqQpoWMFshjxM9v/RAxf2GYq2wyhTkjtG1P6G SCaPKp+H5118b0pipK90cfItMJhFUZk= X-MC-Unique: yoLr63GzPxqYQAoKBCc88A-1 X-Mimecast-MFC-AGG-ID: yoLr63GzPxqYQAoKBCc88A_1770806731 To: devel@lists.libvirt.org Subject: [PATCH 1/5] schema: Add firmwareFeatures element for domaincaps Date: Wed, 11 Feb 2026 11:45:22 +0100 Message-ID: <20260211104526.627199-2-abologna@redhat.com> In-Reply-To: <20260211104526.627199-1-abologna@redhat.com> References: <20260211104526.627199-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: UJgo092lIkIJv9bAbYLh2v1sSP4mZ-dF-6bN7uqym7s_1770806731 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: QARE3AIUSQXWWQPALV72KXGC2NOPDRWL X-Message-ID-Hash: QARE3AIUSQXWWQPALV72KXGC2NOPDRWL X-MailFrom: abologna@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Andrea Bolognani via Devel Reply-To: Andrea Bolognani X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1770900873599158500 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- src/conf/schemas/domaincaps.rng | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/conf/schemas/domaincaps.rng b/src/conf/schemas/domaincaps.= rng index 8d0380951d..3b24caeca6 100644 --- a/src/conf/schemas/domaincaps.rng +++ b/src/conf/schemas/domaincaps.rng @@ -68,6 +68,15 @@ =20 + + + + + + + + + @@ -83,6 +92,9 @@ + + + --=20 2.53.0 From nobody Wed Apr 15 07:04:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1770903383; cv=none; d=zohomail.com; s=zohoarc; b=TTisIHdkTllfYhbkIZ8Y/5ebrYTGT/QSGnPg63Y0W2QRZFy5J4RYh9bD87XWoyU+0iWs5zWkKbGqQgt6U1xU7OYVo+35CciAgt1SdQ//oNJ5s7T/bGDPCmaqai7V2CEXusgsG/tV18XHFoIIM2CkKKJBod+zMzgcz3bYiNZ88X4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770903383; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=dYprRw526JvxTcnjL1SecryQOr2WgjFAaM6JUv962PU=; b=hwPnSYy0MEhuZZ9xMa176FNsHt69PaZUMPs1h0bpBRP4q6j03HvFJSMxOFM41k5ShX7RUTa58OXa7ubhja56uL42QUqVWdCU/IST4zo34yCGf0rMO/Sh9ApIsI1PlGeqh1k8t1wNK+sl1ppbHUaPW5JSryI4WfyiIaX6TmW7hGM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1770903383208240.23381689788835; Thu, 12 Feb 2026 05:36:23 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 762EC44D39; Thu, 12 Feb 2026 08:36:22 -0500 (EST) Received: from [172.19.199.6] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id B355141B0E; Thu, 12 Feb 2026 07:51:41 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id E56643FBB5; Thu, 12 Feb 2026 07:50:44 -0500 (EST) Received: from mx1.osci.io (unknown [8.43.85.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 6404441C9C for ; Thu, 12 Feb 2026 07:39:02 -0500 (EST) Received: by mx1.osci.io (Postfix, from userid 995) id E93442AACA; Wed, 11 Feb 2026 05:45:35 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mx1.osci.io (Postfix) with ESMTPS id 771512AAC7 for ; Wed, 11 Feb 2026 05:45:35 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-455-Z_02QkGQOuaQMBkQraw9ag-1; Wed, 11 Feb 2026 05:45:33 -0500 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 515BB195608F for ; Wed, 11 Feb 2026 10:45:32 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.44.34.211]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7BD861800668 for ; Wed, 11 Feb 2026 10:45:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806734; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dYprRw526JvxTcnjL1SecryQOr2WgjFAaM6JUv962PU=; b=Yn0BxDFkOmHu+OC5314TYEBP0muR5x7oqhJh937JqK46jHMx3xy65eKxiAndPpX8KFxzgZ w0tiEthpaWzCiDZi860TB4HrE8KSr4cHJyuAnCiQ3RqjSZ06CEHwXfAPxx5OZxARE1vmZB Zt+AfqnXSLgdniw0GM27+xxHEtgcQDA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806735; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dYprRw526JvxTcnjL1SecryQOr2WgjFAaM6JUv962PU=; b=XcO2LmxaSGqBP/CLkaAnNzLDUUOtGkO5N/e2kWjOcuaAfxNku3Ho1erLu1RMAeUvZgWkO4 v2QtY2sdb6tDfP3v8dIX0Cv+jtMmlQVHOqdjPgIAljWn1Le+MaE/v4nrmI1d045BQb1nfX HUBSHbjsh1eu0+XpJIh9eZK94Un4HqU= X-MC-Unique: Z_02QkGQOuaQMBkQraw9ag-1 X-Mimecast-MFC-AGG-ID: Z_02QkGQOuaQMBkQraw9ag_1770806732 To: devel@lists.libvirt.org Subject: [PATCH 2/5] conf: Add firmwareFeatures element for domaincaps Date: Wed, 11 Feb 2026 11:45:23 +0100 Message-ID: <20260211104526.627199-3-abologna@redhat.com> In-Reply-To: <20260211104526.627199-1-abologna@redhat.com> References: <20260211104526.627199-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: D6b63gBibQum6Etu5UcQS4SLARtAMeARqvrOU7EfjY4_1770806732 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: W6EKKEPHR5RCXNH36QB7DSB2VMZNRJZM X-Message-ID-Hash: W6EKKEPHR5RCXNH36QB7DSB2VMZNRJZM X-MailFrom: abologna@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Andrea Bolognani via Devel Reply-To: Andrea Bolognani X-ZohoMail-DKIM: fail (found 2 invalid signatures) X-ZM-MESSAGEID: 1770903384983154100 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- src/conf/domain_capabilities.c | 15 +++++++++++++++ src/conf/domain_capabilities.h | 8 ++++++++ 2 files changed, 23 insertions(+) diff --git a/src/conf/domain_capabilities.c b/src/conf/domain_capabilities.c index f843124695..5e747dcf9b 100644 --- a/src/conf/domain_capabilities.c +++ b/src/conf/domain_capabilities.c @@ -422,6 +422,19 @@ virDomainCapsFeatureFormatSimple(virBuffer *buf, } =20 =20 +static void +virDomainCapsFirmwareFeaturesFormat(virBuffer *buf, + const virDomainCapsFirmwareFeatures *f= irmwareFeatures) +{ + FORMAT_PROLOGUE(firmwareFeatures); + + ENUM_PROCESS(firmwareFeatures, secureBoot, virTristateBoolTypeToString= ); + ENUM_PROCESS(firmwareFeatures, enrolledKeys, virTristateBoolTypeToStri= ng); + + FORMAT_EPILOGUE(firmwareFeatures); +} + + static void virDomainCapsLoaderFormat(virBuffer *buf, const virDomainCapsLoader *loader) @@ -440,12 +453,14 @@ static void virDomainCapsOSFormat(virBuffer *buf, const virDomainCapsOS *os) { + const virDomainCapsFirmwareFeatures *firmwareFeatures =3D &os->firmwar= eFeatures; const virDomainCapsLoader *loader =3D &os->loader; =20 FORMAT_PROLOGUE(os); =20 ENUM_PROCESS(os, firmware, virDomainOsDefFirmwareTypeToString); =20 + virDomainCapsFirmwareFeaturesFormat(&childBuf, firmwareFeatures); virDomainCapsLoaderFormat(&childBuf, loader); =20 FORMAT_EPILOGUE(os); diff --git a/src/conf/domain_capabilities.h b/src/conf/domain_capabilities.h index 437981c711..68bd2506e1 100644 --- a/src/conf/domain_capabilities.h +++ b/src/conf/domain_capabilities.h @@ -43,6 +43,13 @@ struct _virDomainCapsStringValues { size_t nvalues; /* number of strings */ }; =20 +typedef struct _virDomainCapsFirmwareFeatures virDomainCapsFirmwareFeature= s; +struct _virDomainCapsFirmwareFeatures { + virTristateBool supported; + virDomainCapsEnum secureBoot; + virDomainCapsEnum enrolledKeys; +}; + STATIC_ASSERT_ENUM(VIR_DOMAIN_LOADER_TYPE_LAST); STATIC_ASSERT_ENUM(VIR_TRISTATE_BOOL_LAST); typedef struct _virDomainCapsLoader virDomainCapsLoader; @@ -59,6 +66,7 @@ typedef struct _virDomainCapsOS virDomainCapsOS; struct _virDomainCapsOS { virTristateBool supported; virDomainCapsEnum firmware; /* Info about virDomainOsDefFirmware */ + virDomainCapsFirmwareFeatures firmwareFeatures; virDomainCapsLoader loader; /* Info about virDomainLoaderDef */ }; =20 --=20 2.53.0 From nobody Wed Apr 15 07:04:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1770902276; cv=none; d=zohomail.com; s=zohoarc; b=lUZVn0RPzI5rlL0koHB/NNBUxGNB/xekvsyH0cY34w+7Y3gTpYnmeWWuzEjLBdlUfu5L0t9Gicyzsf6fw+p+yDhREhz184tJ45qunO/uAAqTTzV/ZgLjdowPBZYeG6PkiwiHjddgKwLdr8vCpsd4XTFsqc5dPUZu6o2LtZg8KBw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770902276; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=uIjDbYD6TBO2uldIs0QmfBonRrRaLTwI7K+k9Q6olG8=; b=BOQqCIUie5iL9uwPKOJIgwwX9BlLZTHO1MkJhMlXhIP1BO43RYEDLccZBz8omsluFPCBqDUNw5xGL2NT7wmWINLUkS870ew7m4oxjIOa8+JFTpm+YgVYb0tnVkrNO9IqdFBTEs1gncgaNgxIkMtZsvrO63JRDMVSAtsxw4PTboY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1770902276307629.525658829571; Thu, 12 Feb 2026 05:17:56 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 8D56B44341; Thu, 12 Feb 2026 08:17:55 -0500 (EST) Received: from [172.19.199.6] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id E8DF145307; Thu, 12 Feb 2026 07:51:06 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id A428B44D29; Thu, 12 Feb 2026 07:50:24 -0500 (EST) Received: from mx1.osci.io (unknown [8.43.85.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id BDBDE44D54 for ; Thu, 12 Feb 2026 07:38:46 -0500 (EST) Received: by mx1.osci.io (Postfix, from userid 995) id 600802AACD; Wed, 11 Feb 2026 05:45:39 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mx1.osci.io (Postfix) with ESMTPS id 2329C2AAC9 for ; Wed, 11 Feb 2026 05:45:37 -0500 (EST) Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-505-OOo6dlxOOEu92r0WNEKF9A-1; Wed, 11 Feb 2026 05:45:34 -0500 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id AFA2B18003F6 for ; Wed, 11 Feb 2026 10:45:33 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.44.34.211]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id AAFAD1800668 for ; Wed, 11 Feb 2026 10:45:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806736; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uIjDbYD6TBO2uldIs0QmfBonRrRaLTwI7K+k9Q6olG8=; b=RC5AHwoT8wN3k3Nhn7Z6eCrTMi+prga9Q5jIYt0Wn0e8/qvXolgzwX0NtVZP2Vc1c/cz50 1GfE4K5TsjxBVPABZu7csHa7y6960ueOFZvLpdePECtBPa+iB+qY7RdkKE2lC3bSi/vCwW CyIKzXJAJBr6rhZO+geZXNOTzyacv+o= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806736; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uIjDbYD6TBO2uldIs0QmfBonRrRaLTwI7K+k9Q6olG8=; b=RC5AHwoT8wN3k3Nhn7Z6eCrTMi+prga9Q5jIYt0Wn0e8/qvXolgzwX0NtVZP2Vc1c/cz50 1GfE4K5TsjxBVPABZu7csHa7y6960ueOFZvLpdePECtBPa+iB+qY7RdkKE2lC3bSi/vCwW CyIKzXJAJBr6rhZO+geZXNOTzyacv+o= X-MC-Unique: OOo6dlxOOEu92r0WNEKF9A-1 X-Mimecast-MFC-AGG-ID: OOo6dlxOOEu92r0WNEKF9A_1770806733 To: devel@lists.libvirt.org Subject: [PATCH 3/5] qemu: Fill in firmwareFeature element for domaincaps Date: Wed, 11 Feb 2026 11:45:24 +0100 Message-ID: <20260211104526.627199-4-abologna@redhat.com> In-Reply-To: <20260211104526.627199-1-abologna@redhat.com> References: <20260211104526.627199-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: oCSNM4pcxAmVC3_F4kiwAFr_SIuAeIq0Q0XT8SPnrhU_1770806733 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 5WALZGX6FEVIJ72OWGOM3U6THVOVP7HX X-Message-ID-Hash: 5WALZGX6FEVIJ72OWGOM3U6THVOVP7HX X-MailFrom: abologna@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Andrea Bolognani via Devel Reply-To: Andrea Bolognani X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1770902277848154100 Content-Type: text/plain; charset="utf-8"; x-default="true" On architectures that support neither UEFI nor BIOS as firmware, such as ppc64 and s390x, the enums end up empty. This correctly indicates that filtering by firmware feature is not possible, and is consistent with the fact that the existing "firmware" enum is also empty in those cases, meaning that firmware autoselection itself is just not applicable. Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- src/qemu/qemu_capabilities.c | 21 ++++++++++++-- src/qemu/qemu_firmware.c | 28 +++++++++++++++++-- src/qemu/qemu_firmware.h | 2 ++ .../qemu_10.0.0-q35.x86_64+amdsev.xml | 10 +++++++ .../domaincapsdata/qemu_10.0.0-q35.x86_64.xml | 10 +++++++ .../qemu_10.0.0-tcg.x86_64+amdsev.xml | 8 ++++++ .../domaincapsdata/qemu_10.0.0-tcg.x86_64.xml | 8 ++++++ .../qemu_10.0.0-virt.aarch64.xml | 8 ++++++ tests/domaincapsdata/qemu_10.0.0.aarch64.xml | 8 ++++++ tests/domaincapsdata/qemu_10.0.0.ppc64.xml | 4 +++ tests/domaincapsdata/qemu_10.0.0.s390x.xml | 4 +++ .../qemu_10.0.0.x86_64+amdsev.xml | 8 ++++++ tests/domaincapsdata/qemu_10.0.0.x86_64.xml | 8 ++++++ .../qemu_10.1.0-q35.x86_64+inteltdx.xml | 10 +++++++ .../domaincapsdata/qemu_10.1.0-q35.x86_64.xml | 10 +++++++ .../qemu_10.1.0-tcg.x86_64+inteltdx.xml | 8 ++++++ .../domaincapsdata/qemu_10.1.0-tcg.x86_64.xml | 8 ++++++ tests/domaincapsdata/qemu_10.1.0.s390x.xml | 4 +++ .../qemu_10.1.0.x86_64+inteltdx.xml | 8 ++++++ tests/domaincapsdata/qemu_10.1.0.x86_64.xml | 8 ++++++ .../qemu_10.2.0-q35.x86_64+mshv.xml | 10 +++++++ .../domaincapsdata/qemu_10.2.0-q35.x86_64.xml | 10 +++++++ .../qemu_10.2.0-tcg.x86_64+mshv.xml | 8 ++++++ .../domaincapsdata/qemu_10.2.0-tcg.x86_64.xml | 8 ++++++ .../qemu_10.2.0-virt.aarch64.xml | 8 ++++++ tests/domaincapsdata/qemu_10.2.0.aarch64.xml | 8 ++++++ .../qemu_10.2.0.x86_64+mshv.xml | 8 ++++++ tests/domaincapsdata/qemu_10.2.0.x86_64.xml | 8 ++++++ .../domaincapsdata/qemu_11.0.0-q35.x86_64.xml | 10 +++++++ .../domaincapsdata/qemu_11.0.0-tcg.x86_64.xml | 8 ++++++ .../qemu_11.0.0-virt.aarch64.xml | 8 ++++++ tests/domaincapsdata/qemu_11.0.0.aarch64.xml | 8 ++++++ tests/domaincapsdata/qemu_11.0.0.x86_64.xml | 8 ++++++ .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml | 10 +++++++ .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml | 8 ++++++ tests/domaincapsdata/qemu_6.2.0.ppc64.xml | 4 +++ tests/domaincapsdata/qemu_6.2.0.x86_64.xml | 8 ++++++ .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml | 10 +++++++ .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml | 8 ++++++ tests/domaincapsdata/qemu_7.0.0.ppc64.xml | 4 +++ tests/domaincapsdata/qemu_7.0.0.x86_64.xml | 8 ++++++ .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml | 10 +++++++ .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml | 8 ++++++ tests/domaincapsdata/qemu_7.1.0.ppc64.xml | 4 +++ tests/domaincapsdata/qemu_7.1.0.x86_64.xml | 8 ++++++ .../qemu_7.2.0-hvf.x86_64+hvf.xml | 8 ++++++ .../domaincapsdata/qemu_7.2.0-q35.x86_64.xml | 10 +++++++ .../qemu_7.2.0-tcg.x86_64+hvf.xml | 8 ++++++ .../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml | 8 ++++++ tests/domaincapsdata/qemu_7.2.0.ppc.xml | 4 +++ tests/domaincapsdata/qemu_7.2.0.x86_64.xml | 8 ++++++ .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml | 10 +++++++ .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml | 8 ++++++ tests/domaincapsdata/qemu_8.0.0.x86_64.xml | 8 ++++++ .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml | 10 +++++++ .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml | 8 ++++++ tests/domaincapsdata/qemu_8.1.0.s390x.xml | 4 +++ tests/domaincapsdata/qemu_8.1.0.x86_64.xml | 8 ++++++ .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml | 10 +++++++ .../qemu_8.2.0-tcg-virt.loongarch64.xml | 8 ++++++ .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml | 8 ++++++ .../qemu_8.2.0-virt.aarch64.xml | 8 ++++++ .../qemu_8.2.0-virt.loongarch64.xml | 8 ++++++ tests/domaincapsdata/qemu_8.2.0.aarch64.xml | 8 ++++++ tests/domaincapsdata/qemu_8.2.0.armv7l.xml | 4 +++ tests/domaincapsdata/qemu_8.2.0.s390x.xml | 4 +++ tests/domaincapsdata/qemu_8.2.0.x86_64.xml | 8 ++++++ .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml | 10 +++++++ .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml | 8 ++++++ tests/domaincapsdata/qemu_9.0.0.sparc.xml | 4 +++ tests/domaincapsdata/qemu_9.0.0.x86_64.xml | 8 ++++++ .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml | 10 +++++++ .../qemu_9.1.0-tcg-virt.riscv64.xml | 8 ++++++ .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml | 8 ++++++ .../qemu_9.1.0-virt.riscv64.xml | 8 ++++++ tests/domaincapsdata/qemu_9.1.0.s390x.xml | 4 +++ tests/domaincapsdata/qemu_9.1.0.x86_64.xml | 8 ++++++ .../qemu_9.2.0-hvf.aarch64+hvf.xml | 8 ++++++ .../qemu_9.2.0-q35.x86_64+amdsev.xml | 10 +++++++ .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml | 10 +++++++ .../qemu_9.2.0-tcg.x86_64+amdsev.xml | 8 ++++++ .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml | 8 ++++++ tests/domaincapsdata/qemu_9.2.0.s390x.xml | 4 +++ .../qemu_9.2.0.x86_64+amdsev.xml | 8 ++++++ tests/domaincapsdata/qemu_9.2.0.x86_64.xml | 8 ++++++ tests/qemufirmwaretest.c | 7 ++++- 86 files changed, 693 insertions(+), 5 deletions(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 0f533ac609..21dc7742d0 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -6516,8 +6516,11 @@ virQEMUCapsFillDomainOSCaps(virDomainCapsOS *os, virFirmware **firmwares, size_t nfirmwares) { + virDomainCapsFirmwareFeatures *firmwareFeatures =3D &os->firmwareFeatu= res; virDomainCapsLoader *capsLoader =3D &os->loader; uint64_t autoFirmwares =3D 0; + uint64_t featureSecureBoot =3D 0; + uint64_t featureEnrolledKeys =3D 0; bool secure =3D false; virFirmware **firmwaresAlt =3D NULL; size_t nfirmwaresAlt =3D 0; @@ -6526,8 +6529,9 @@ virQEMUCapsFillDomainOSCaps(virDomainCapsOS *os, os->supported =3D VIR_TRISTATE_BOOL_YES; os->firmware.report =3D true; =20 - if (qemuFirmwareGetSupported(machine, arch, privileged, - &autoFirmwares, &secure, + if (qemuFirmwareGetSupported(machine, arch, privileged, &autoFirmwares, + &featureSecureBoot, &featureEnrolledKeys, + &secure, &firmwaresAlt, &nfirmwaresAlt) < 0) return -1; =20 @@ -6536,6 +6540,19 @@ virQEMUCapsFillDomainOSCaps(virDomainCapsOS *os, if (autoFirmwares & (1ULL << VIR_DOMAIN_OS_DEF_FIRMWARE_EFI)) VIR_DOMAIN_CAPS_ENUM_SET(os->firmware, VIR_DOMAIN_OS_DEF_FIRMWARE_= EFI); =20 + firmwareFeatures->supported =3D VIR_TRISTATE_BOOL_YES; + firmwareFeatures->secureBoot.report =3D true; + firmwareFeatures->enrolledKeys.report =3D true; + + if (featureSecureBoot & (1ULL << VIR_TRISTATE_BOOL_YES)) + VIR_DOMAIN_CAPS_ENUM_SET(firmwareFeatures->secureBoot, VIR_TRISTAT= E_BOOL_YES); + if (featureSecureBoot & (1ULL << VIR_TRISTATE_BOOL_NO)) + VIR_DOMAIN_CAPS_ENUM_SET(firmwareFeatures->secureBoot, VIR_TRISTAT= E_BOOL_NO); + if (featureEnrolledKeys & (1ULL << VIR_TRISTATE_BOOL_YES)) + VIR_DOMAIN_CAPS_ENUM_SET(firmwareFeatures->enrolledKeys, VIR_TRIST= ATE_BOOL_YES); + if (featureEnrolledKeys & (1ULL << VIR_TRISTATE_BOOL_NO)) + VIR_DOMAIN_CAPS_ENUM_SET(firmwareFeatures->enrolledKeys, VIR_TRIST= ATE_BOOL_NO); + if (virQEMUCapsFillDomainLoaderCaps(capsLoader, secure, firmwaresAlt ? firmwaresAlt : firm= wares, firmwaresAlt ? nfirmwaresAlt : nfi= rmwares) < 0) diff --git a/src/qemu/qemu_firmware.c b/src/qemu/qemu_firmware.c index 52205b72f8..436b06c388 100644 --- a/src/qemu/qemu_firmware.c +++ b/src/qemu/qemu_firmware.c @@ -1972,6 +1972,8 @@ qemuFirmwareFillDomain(virQEMUDriver *driver, * @arch: architecture * @privileged: whether running as privileged user * @supported: returned bitmap of supported interfaces + * @featureSecureBoot: bitmap of virTristateBool values for secure-boot fe= ature + * @featureEnrolledKeys: bitmap of virTristateBool values for enrolled-key= s feature * @secure: true if at least one secure boot enabled FW was found * @fws: (optional) list of found firmwares * @nfws: (optional) number of members in @fws @@ -2001,6 +2003,8 @@ qemuFirmwareGetSupported(const char *machine, virArch arch, bool privileged, uint64_t *supported, + uint64_t *featureSecureBoot, + uint64_t *featureEnrolledKeys, bool *secure, virFirmware ***fws, size_t *nfws) @@ -2010,6 +2014,8 @@ qemuFirmwareGetSupported(const char *machine, size_t i; =20 *supported =3D VIR_DOMAIN_OS_DEF_FIRMWARE_NONE; + *featureSecureBoot =3D VIR_TRISTATE_BOOL_ABSENT; + *featureEnrolledKeys =3D VIR_TRISTATE_BOOL_ABSENT; *secure =3D false; =20 if (fws) { @@ -2027,6 +2033,8 @@ qemuFirmwareGetSupported(const char *machine, const qemuFirmwareMappingMemory *memory =3D &fw->mapping.data.memo= ry; const char *fwpath =3D NULL; const char *nvrampath =3D NULL; + bool secureBootFound =3D false; + bool enrolledKeysFound =3D false; size_t j; =20 if (!qemuFirmwareMatchesMachineArch(fw, machine, arch)) @@ -2051,6 +2059,14 @@ qemuFirmwareGetSupported(const char *machine, =20 for (j =3D 0; j < fw->nfeatures; j++) { switch (fw->features[j]) { + case QEMU_FIRMWARE_FEATURE_SECURE_BOOT: + *featureSecureBoot |=3D 1ULL << VIR_TRISTATE_BOOL_YES; + secureBootFound =3D true; + break; + case QEMU_FIRMWARE_FEATURE_ENROLLED_KEYS: + *featureEnrolledKeys |=3D 1ULL << VIR_TRISTATE_BOOL_YES; + enrolledKeysFound =3D true; + break; case QEMU_FIRMWARE_FEATURE_REQUIRES_SMM: *secure =3D true; break; @@ -2061,8 +2077,6 @@ qemuFirmwareGetSupported(const char *machine, case QEMU_FIRMWARE_FEATURE_AMD_SEV_ES: case QEMU_FIRMWARE_FEATURE_AMD_SEV_SNP: case QEMU_FIRMWARE_FEATURE_INTEL_TDX: - case QEMU_FIRMWARE_FEATURE_ENROLLED_KEYS: - case QEMU_FIRMWARE_FEATURE_SECURE_BOOT: case QEMU_FIRMWARE_FEATURE_VERBOSE_DYNAMIC: case QEMU_FIRMWARE_FEATURE_VERBOSE_STATIC: case QEMU_FIRMWARE_FEATURE_LAST: @@ -2070,6 +2084,16 @@ qemuFirmwareGetSupported(const char *machine, } } =20 + /* Do this here to ensure that we only advertise "no" as a + * value for each feature if we have actually found a + * suitable firmware that doesn't list it, as opposed to + * having found no matching firmware at all, which will + * instead result in an empty enum */ + if (!secureBootFound) + *featureSecureBoot |=3D 1ULL << VIR_TRISTATE_BOOL_NO; + if (!enrolledKeysFound) + *featureEnrolledKeys |=3D 1ULL << VIR_TRISTATE_BOOL_NO; + switch (fw->mapping.device) { case QEMU_FIRMWARE_DEVICE_FLASH: fwpath =3D flash->executable.filename; diff --git a/src/qemu/qemu_firmware.h b/src/qemu/qemu_firmware.h index 39572d979d..6789ec83f7 100644 --- a/src/qemu/qemu_firmware.h +++ b/src/qemu/qemu_firmware.h @@ -52,6 +52,8 @@ qemuFirmwareGetSupported(const char *machine, virArch arch, bool privileged, uint64_t *supported, + uint64_t *featureSecureBoot, + uint64_t *featureEnrolledKeys, bool *secure, virFirmware ***fws, size_t *nfws); diff --git a/tests/domaincapsdata/qemu_10.0.0-q35.x86_64+amdsev.xml b/tests= /domaincapsdata/qemu_10.0.0-q35.x86_64+amdsev.xml index 8cb51d795c..3aa880de33 100644 --- a/tests/domaincapsdata/qemu_10.0.0-q35.x86_64+amdsev.xml +++ b/tests/domaincapsdata/qemu_10.0.0-q35.x86_64+amdsev.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.0.0-q35.x86_64.xml b/tests/domain= capsdata/qemu_10.0.0-q35.x86_64.xml index 56192354ac..70c0ad124b 100644 --- a/tests/domaincapsdata/qemu_10.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_10.0.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.0.0-tcg.x86_64+amdsev.xml b/tests= /domaincapsdata/qemu_10.0.0-tcg.x86_64+amdsev.xml index 4242f2fe9c..2336940bed 100644 --- a/tests/domaincapsdata/qemu_10.0.0-tcg.x86_64+amdsev.xml +++ b/tests/domaincapsdata/qemu_10.0.0-tcg.x86_64+amdsev.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.0.0-tcg.x86_64.xml b/tests/domain= capsdata/qemu_10.0.0-tcg.x86_64.xml index 76d5fdd0d9..8bfbc8250f 100644 --- a/tests/domaincapsdata/qemu_10.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_10.0.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.0.0-virt.aarch64.xml b/tests/doma= incapsdata/qemu_10.0.0-virt.aarch64.xml index 30863d3d6b..c13cc82b54 100644 --- a/tests/domaincapsdata/qemu_10.0.0-virt.aarch64.xml +++ b/tests/domaincapsdata/qemu_10.0.0-virt.aarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.0.0.aarch64.xml b/tests/domaincap= sdata/qemu_10.0.0.aarch64.xml index 30863d3d6b..c13cc82b54 100644 --- a/tests/domaincapsdata/qemu_10.0.0.aarch64.xml +++ b/tests/domaincapsdata/qemu_10.0.0.aarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.0.0.ppc64.xml b/tests/domaincapsd= ata/qemu_10.0.0.ppc64.xml index 5136e7a20d..146a6d07f3 100644 --- a/tests/domaincapsdata/qemu_10.0.0.ppc64.xml +++ b/tests/domaincapsdata/qemu_10.0.0.ppc64.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.0.0.s390x.xml b/tests/domaincapsd= ata/qemu_10.0.0.s390x.xml index 3bbdbd68d0..9ca03b765a 100644 --- a/tests/domaincapsdata/qemu_10.0.0.s390x.xml +++ b/tests/domaincapsdata/qemu_10.0.0.s390x.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.0.0.x86_64+amdsev.xml b/tests/dom= aincapsdata/qemu_10.0.0.x86_64+amdsev.xml index 8b02db8802..57717eb847 100644 --- a/tests/domaincapsdata/qemu_10.0.0.x86_64+amdsev.xml +++ b/tests/domaincapsdata/qemu_10.0.0.x86_64+amdsev.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.0.0.x86_64.xml b/tests/domaincaps= data/qemu_10.0.0.x86_64.xml index 6dac17808c..7d72f886a1 100644 --- a/tests/domaincapsdata/qemu_10.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_10.0.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.1.0-q35.x86_64+inteltdx.xml b/tes= ts/domaincapsdata/qemu_10.1.0-q35.x86_64+inteltdx.xml index 31d4fab043..a0d35a432f 100644 --- a/tests/domaincapsdata/qemu_10.1.0-q35.x86_64+inteltdx.xml +++ b/tests/domaincapsdata/qemu_10.1.0-q35.x86_64+inteltdx.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.1.0-q35.x86_64.xml b/tests/domain= capsdata/qemu_10.1.0-q35.x86_64.xml index 6213908152..d01267c46f 100644 --- a/tests/domaincapsdata/qemu_10.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_10.1.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.1.0-tcg.x86_64+inteltdx.xml b/tes= ts/domaincapsdata/qemu_10.1.0-tcg.x86_64+inteltdx.xml index cace9f109a..3f58a7fb07 100644 --- a/tests/domaincapsdata/qemu_10.1.0-tcg.x86_64+inteltdx.xml +++ b/tests/domaincapsdata/qemu_10.1.0-tcg.x86_64+inteltdx.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.1.0-tcg.x86_64.xml b/tests/domain= capsdata/qemu_10.1.0-tcg.x86_64.xml index 804848b8a7..3175bc763b 100644 --- a/tests/domaincapsdata/qemu_10.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_10.1.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.1.0.s390x.xml b/tests/domaincapsd= ata/qemu_10.1.0.s390x.xml index 9d773385c4..1f1f8013b6 100644 --- a/tests/domaincapsdata/qemu_10.1.0.s390x.xml +++ b/tests/domaincapsdata/qemu_10.1.0.s390x.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.1.0.x86_64+inteltdx.xml b/tests/d= omaincapsdata/qemu_10.1.0.x86_64+inteltdx.xml index 6320200c20..691b2a03f0 100644 --- a/tests/domaincapsdata/qemu_10.1.0.x86_64+inteltdx.xml +++ b/tests/domaincapsdata/qemu_10.1.0.x86_64+inteltdx.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.1.0.x86_64.xml b/tests/domaincaps= data/qemu_10.1.0.x86_64.xml index 35c9b8c6d3..b99545be6d 100644 --- a/tests/domaincapsdata/qemu_10.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_10.1.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.2.0-q35.x86_64+mshv.xml b/tests/d= omaincapsdata/qemu_10.2.0-q35.x86_64+mshv.xml index ebba8fd49f..0a38b805d9 100644 --- a/tests/domaincapsdata/qemu_10.2.0-q35.x86_64+mshv.xml +++ b/tests/domaincapsdata/qemu_10.2.0-q35.x86_64+mshv.xml @@ -9,6 +9,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.2.0-q35.x86_64.xml b/tests/domain= capsdata/qemu_10.2.0-q35.x86_64.xml index 5ce911d62f..042191c849 100644 --- a/tests/domaincapsdata/qemu_10.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_10.2.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.2.0-tcg.x86_64+mshv.xml b/tests/d= omaincapsdata/qemu_10.2.0-tcg.x86_64+mshv.xml index 6c6f1e84c3..ec9e389495 100644 --- a/tests/domaincapsdata/qemu_10.2.0-tcg.x86_64+mshv.xml +++ b/tests/domaincapsdata/qemu_10.2.0-tcg.x86_64+mshv.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.2.0-tcg.x86_64.xml b/tests/domain= capsdata/qemu_10.2.0-tcg.x86_64.xml index 14e8e30f1c..8ba9bc8cfc 100644 --- a/tests/domaincapsdata/qemu_10.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_10.2.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.2.0-virt.aarch64.xml b/tests/doma= incapsdata/qemu_10.2.0-virt.aarch64.xml index 84d3022006..5702b2c99e 100644 --- a/tests/domaincapsdata/qemu_10.2.0-virt.aarch64.xml +++ b/tests/domaincapsdata/qemu_10.2.0-virt.aarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.2.0.aarch64.xml b/tests/domaincap= sdata/qemu_10.2.0.aarch64.xml index 84d3022006..5702b2c99e 100644 --- a/tests/domaincapsdata/qemu_10.2.0.aarch64.xml +++ b/tests/domaincapsdata/qemu_10.2.0.aarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.2.0.x86_64+mshv.xml b/tests/domai= ncapsdata/qemu_10.2.0.x86_64+mshv.xml index c8f2585d7d..a4e359ef26 100644 --- a/tests/domaincapsdata/qemu_10.2.0.x86_64+mshv.xml +++ b/tests/domaincapsdata/qemu_10.2.0.x86_64+mshv.xml @@ -9,6 +9,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_10.2.0.x86_64.xml b/tests/domaincaps= data/qemu_10.2.0.x86_64.xml index 333bbaa698..016cb926a8 100644 --- a/tests/domaincapsdata/qemu_10.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_10.2.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_11.0.0-q35.x86_64.xml b/tests/domain= capsdata/qemu_11.0.0-q35.x86_64.xml index be89b0a4f2..9b2581b186 100644 --- a/tests/domaincapsdata/qemu_11.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_11.0.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_11.0.0-tcg.x86_64.xml b/tests/domain= capsdata/qemu_11.0.0-tcg.x86_64.xml index bb611142b3..ed535c64c0 100644 --- a/tests/domaincapsdata/qemu_11.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_11.0.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_11.0.0-virt.aarch64.xml b/tests/doma= incapsdata/qemu_11.0.0-virt.aarch64.xml index 906e3c1e68..3a841a29d2 100644 --- a/tests/domaincapsdata/qemu_11.0.0-virt.aarch64.xml +++ b/tests/domaincapsdata/qemu_11.0.0-virt.aarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_11.0.0.aarch64.xml b/tests/domaincap= sdata/qemu_11.0.0.aarch64.xml index 906e3c1e68..3a841a29d2 100644 --- a/tests/domaincapsdata/qemu_11.0.0.aarch64.xml +++ b/tests/domaincapsdata/qemu_11.0.0.aarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_11.0.0.x86_64.xml b/tests/domaincaps= data/qemu_11.0.0.x86_64.xml index 956d59f877..39d2fbe97f 100644 --- a/tests/domaincapsdata/qemu_11.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_11.0.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-q35.x86_64.xml index b14cbddc59..b91adffda0 100644 --- a/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_6.2.0-tcg.x86_64.xml index 51547bf505..ada310a476 100644 --- a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_6.2.0.ppc64.xml b/tests/domaincapsda= ta/qemu_6.2.0.ppc64.xml index 411925ad66..1d627c757b 100644 --- a/tests/domaincapsdata/qemu_6.2.0.ppc64.xml +++ b/tests/domaincapsdata/qemu_6.2.0.ppc64.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_6.2.0.x86_64.xml index ab387c862e..b9fab6a2dc 100644 --- a/tests/domaincapsdata/qemu_6.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_6.2.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-q35.x86_64.xml index 4bbcb516ec..ebd2fb6ac6 100644 --- a/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.0.0-tcg.x86_64.xml index 839f0600c2..80ce709c36 100644 --- a/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.0.0.ppc64.xml b/tests/domaincapsda= ta/qemu_7.0.0.ppc64.xml index 147d1bf7fb..2f8088e991 100644 --- a/tests/domaincapsdata/qemu_7.0.0.ppc64.xml +++ b/tests/domaincapsdata/qemu_7.0.0.ppc64.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.0.0.x86_64.xml index 612b5a44cc..2bec7f19cc 100644 --- a/tests/domaincapsdata/qemu_7.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.0.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-q35.x86_64.xml index a031b673dd..17147b153f 100644 --- a/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.1.0-tcg.x86_64.xml index 9360f8fadf..d8ecea921a 100644 --- a/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.1.0.ppc64.xml b/tests/domaincapsda= ta/qemu_7.1.0.ppc64.xml index f3a2dfe6ff..e85357a9be 100644 --- a/tests/domaincapsdata/qemu_7.1.0.ppc64.xml +++ b/tests/domaincapsdata/qemu_7.1.0.ppc64.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.1.0.x86_64.xml index 6738d8f852..58c4bc28b4 100644 --- a/tests/domaincapsdata/qemu_7.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.1.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.2.0-hvf.x86_64+hvf.xml b/tests/dom= aincapsdata/qemu_7.2.0-hvf.x86_64+hvf.xml index b338bcc470..7e2e838a56 100644 --- a/tests/domaincapsdata/qemu_7.2.0-hvf.x86_64+hvf.xml +++ b/tests/domaincapsdata/qemu_7.2.0-hvf.x86_64+hvf.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-q35.x86_64.xml index 39eb10dc7a..25737f04ff 100644 --- a/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml b/tests/dom= aincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml index 77fce0eb95..cab13a0331 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64+hvf.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_7.2.0-tcg.x86_64.xml index 77fce0eb95..cab13a0331 100644 --- a/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.2.0.ppc.xml b/tests/domaincapsdata= /qemu_7.2.0.ppc.xml index 8bda6af431..b9a92e7378 100644 --- a/tests/domaincapsdata/qemu_7.2.0.ppc.xml +++ b/tests/domaincapsdata/qemu_7.2.0.ppc.xml @@ -6,6 +6,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_7.2.0.x86_64.xml index 16708c3d85..e3e49269f5 100644 --- a/tests/domaincapsdata/qemu_7.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_7.2.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-q35.x86_64.xml index 4acd9b76b2..5527105721 100644 --- a/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.0.0-tcg.x86_64.xml index c8efc8f183..3338819f48 100644 --- a/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.0.0.x86_64.xml index cfa00f3150..716b18adef 100644 --- a/tests/domaincapsdata/qemu_8.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.0.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-q35.x86_64.xml index 83a703da52..228c35c6e5 100644 --- a/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.1.0-tcg.x86_64.xml index 725002966d..6f275c3763 100644 --- a/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.1.0.s390x.xml b/tests/domaincapsda= ta/qemu_8.1.0.s390x.xml index 0872931dd7..0fae70976b 100644 --- a/tests/domaincapsdata/qemu_8.1.0.s390x.xml +++ b/tests/domaincapsdata/qemu_8.1.0.s390x.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.1.0.x86_64.xml index 6a3cb84342..86169fbc41 100644 --- a/tests/domaincapsdata/qemu_8.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.1.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-q35.x86_64.xml index a25cf01799..b2837acd7f 100644 --- a/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.2.0-tcg-virt.loongarch64.xml b/tes= ts/domaincapsdata/qemu_8.2.0-tcg-virt.loongarch64.xml index eead5ff076..a095471b2e 100644 --- a/tests/domaincapsdata/qemu_8.2.0-tcg-virt.loongarch64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-tcg-virt.loongarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_8.2.0-tcg.x86_64.xml index 3b986eb386..37263f94c3 100644 --- a/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.2.0-virt.aarch64.xml b/tests/domai= ncapsdata/qemu_8.2.0-virt.aarch64.xml index bb563d6e6c..3ca5d61806 100644 --- a/tests/domaincapsdata/qemu_8.2.0-virt.aarch64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-virt.aarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.2.0-virt.loongarch64.xml b/tests/d= omaincapsdata/qemu_8.2.0-virt.loongarch64.xml index 4d441289a4..5b0cffe80e 100644 --- a/tests/domaincapsdata/qemu_8.2.0-virt.loongarch64.xml +++ b/tests/domaincapsdata/qemu_8.2.0-virt.loongarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.2.0.aarch64.xml b/tests/domaincaps= data/qemu_8.2.0.aarch64.xml index bb563d6e6c..3ca5d61806 100644 --- a/tests/domaincapsdata/qemu_8.2.0.aarch64.xml +++ b/tests/domaincapsdata/qemu_8.2.0.aarch64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.2.0.armv7l.xml b/tests/domaincapsd= ata/qemu_8.2.0.armv7l.xml index 5c467d4a14..30294fa8b5 100644 --- a/tests/domaincapsdata/qemu_8.2.0.armv7l.xml +++ b/tests/domaincapsdata/qemu_8.2.0.armv7l.xml @@ -6,6 +6,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.2.0.s390x.xml b/tests/domaincapsda= ta/qemu_8.2.0.s390x.xml index 5126dd4d00..85cc9834fa 100644 --- a/tests/domaincapsdata/qemu_8.2.0.s390x.xml +++ b/tests/domaincapsdata/qemu_8.2.0.s390x.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_8.2.0.x86_64.xml index 57cd4d63de..b740eb8526 100644 --- a/tests/domaincapsdata/qemu_8.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_8.2.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-q35.x86_64.xml index c7932014ad..a0364579e2 100644 --- a/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.0.0-tcg.x86_64.xml index 3593d70166..d570c438ba 100644 --- a/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.0.0.sparc.xml b/tests/domaincapsda= ta/qemu_9.0.0.sparc.xml index 6b4dd3c3b5..902a12f900 100644 --- a/tests/domaincapsdata/qemu_9.0.0.sparc.xml +++ b/tests/domaincapsdata/qemu_9.0.0.sparc.xml @@ -6,6 +6,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.0.0.x86_64.xml index 96303a31cd..67767ced9c 100644 --- a/tests/domaincapsdata/qemu_9.0.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.0.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-q35.x86_64.xml index 518a6811fe..97ad0a7ba5 100644 --- a/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg-virt.riscv64.xml b/tests/d= omaincapsdata/qemu_9.1.0-tcg-virt.riscv64.xml index ce7fe71141..69f262b2af 100644 --- a/tests/domaincapsdata/qemu_9.1.0-tcg-virt.riscv64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-tcg-virt.riscv64.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.1.0-tcg.x86_64.xml index 70928471b3..9733ae00fc 100644 --- a/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.1.0-virt.riscv64.xml b/tests/domai= ncapsdata/qemu_9.1.0-virt.riscv64.xml index fabb09bf72..cfffdb0e10 100644 --- a/tests/domaincapsdata/qemu_9.1.0-virt.riscv64.xml +++ b/tests/domaincapsdata/qemu_9.1.0-virt.riscv64.xml @@ -8,6 +8,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.1.0.s390x.xml b/tests/domaincapsda= ta/qemu_9.1.0.s390x.xml index d4649de513..a9297de721 100644 --- a/tests/domaincapsdata/qemu_9.1.0.s390x.xml +++ b/tests/domaincapsdata/qemu_9.1.0.s390x.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.1.0.x86_64.xml index ee101364cc..8ea6f823fc 100644 --- a/tests/domaincapsdata/qemu_9.1.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.1.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.2.0-hvf.aarch64+hvf.xml b/tests/do= maincapsdata/qemu_9.2.0-hvf.aarch64+hvf.xml index ae657c7f72..ba7bc35102 100644 --- a/tests/domaincapsdata/qemu_9.2.0-hvf.aarch64+hvf.xml +++ b/tests/domaincapsdata/qemu_9.2.0-hvf.aarch64+hvf.xml @@ -9,6 +9,14 @@ efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64+amdsev.xml b/tests/= domaincapsdata/qemu_9.2.0-q35.x86_64+amdsev.xml index 35dc5785bc..a7d29ba08b 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64+amdsev.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64+amdsev.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-q35.x86_64.xml index baaaf4f91c..22ab26a61c 100644 --- a/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-q35.x86_64.xml @@ -10,6 +10,16 @@ bios efi + + + yes + no + + + yes + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64+amdsev.xml b/tests/= domaincapsdata/qemu_9.2.0-tcg.x86_64+amdsev.xml index 033004a1f4..0c37810757 100644 --- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64+amdsev.xml +++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64+amdsev.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml b/tests/domainc= apsdata/qemu_9.2.0-tcg.x86_64.xml index f20fe882c6..12d3191f2c 100644 --- a/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0-tcg.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.2.0.s390x.xml b/tests/domaincapsda= ta/qemu_9.2.0.s390x.xml index 21a1b4f5a9..213338923d 100644 --- a/tests/domaincapsdata/qemu_9.2.0.s390x.xml +++ b/tests/domaincapsdata/qemu_9.2.0.s390x.xml @@ -7,6 +7,10 @@ + + + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64+amdsev.xml b/tests/doma= incapsdata/qemu_9.2.0.x86_64+amdsev.xml index 39390d2ab6..27a613e59f 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64+amdsev.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64+amdsev.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml b/tests/domaincapsd= ata/qemu_9.2.0.x86_64.xml index c477a1d2c4..fb074637a9 100644 --- a/tests/domaincapsdata/qemu_9.2.0.x86_64.xml +++ b/tests/domaincapsdata/qemu_9.2.0.x86_64.xml @@ -10,6 +10,14 @@ bios efi + + + no + + + no + + /obviously/fake/firmware1.fd /obviously/fake/firmware2.fd diff --git a/tests/qemufirmwaretest.c b/tests/qemufirmwaretest.c index a4fb5c9b9c..2eb9d8e701 100644 --- a/tests/qemufirmwaretest.c +++ b/tests/qemufirmwaretest.c @@ -155,6 +155,8 @@ testSupportedFW(const void *opaque) const struct supportedData *data =3D opaque; uint64_t actualInterfaces; uint64_t expectedInterfaces =3D 0; + uint64_t actualFeatureSecureBoot; + uint64_t actualFeatureEnrolledKeys; bool actualSecure; virFirmware **expFWs =3D NULL; size_t nexpFWs =3D 0; @@ -182,7 +184,10 @@ testSupportedFW(const void *opaque) } =20 if (qemuFirmwareGetSupported(data->machine, data->arch, false, - &actualInterfaces, &actualSecure, &actFWs= , &nactFWs) < 0) { + &actualInterfaces, + &actualFeatureSecureBoot, + &actualFeatureEnrolledKeys, + &actualSecure, &actFWs, &nactFWs) < 0) { fprintf(stderr, "Unable to get list of supported interfaces\n"); goto cleanup; } --=20 2.53.0 From nobody Wed Apr 15 07:04:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1770905323; cv=none; d=zohomail.com; s=zohoarc; b=P5kpc2D09KguGgzE9u0NDRmhX9S203XHzzkF6xhaKujSJGXm87uT0bW6IZJSE2J7YkU3DzwxfKw7lssgDvO8b37Mt3KENis9KV7j31d54nxyKRDXHKHFAvw+C28DkUupjQT8sMD+saE4JVCWU8yHr9NPNPsZ4xUU7MwNWkWEinQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770905323; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=8edIr53G/Qj//Dbe2WlIDOkCvNZF3h0spkoI4w+hfb4=; b=LX7xS2+5Mx9ApIEjQueMUuZONC08Ocw93sJo0ORAFl0OEuIxns6SeKlrFBL3JiGwkcquVpVO71vzQsgNOzZ8ggi6fuQTzUfHhHNqvBEZBH+KtZcaal6UVOSb7Cb20XQnHA9Z3K4f2GqXFrYH2WKV6t+txxHwAZAVNG0Z4WZ26Uo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1770905323741947.6208213743711; Thu, 12 Feb 2026 06:08:43 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 11D2A41B5A; Thu, 12 Feb 2026 09:08:43 -0500 (EST) Received: from [172.19.199.6] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id B4AF2442EA; Thu, 12 Feb 2026 07:47:55 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id C49674183A; Thu, 12 Feb 2026 07:44:51 -0500 (EST) Received: from mx1.osci.io (unknown [8.43.85.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 745B9440E4 for ; Thu, 12 Feb 2026 07:38:26 -0500 (EST) Received: by mx1.osci.io (Postfix, from userid 995) id 554D12AACE; Wed, 11 Feb 2026 05:45:38 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mx1.osci.io (Postfix) with ESMTPS id CDADF2AACC for ; Wed, 11 Feb 2026 05:45:37 -0500 (EST) Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-484-Fy39_4UbMf-nJYFJqsCqJg-1; Wed, 11 Feb 2026 05:45:35 -0500 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id DCFFE18005AD for ; Wed, 11 Feb 2026 10:45:34 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.44.34.211]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2B69D1800668 for ; Wed, 11 Feb 2026 10:45:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806737; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8edIr53G/Qj//Dbe2WlIDOkCvNZF3h0spkoI4w+hfb4=; b=VZKhMhBhVEfwm+bxj6dFoHOXEi2AFpxqlx9n8QxnL7sgBPamIIKTXBH6mqumf4nB4dCdhZ 6xBNYbvX1GyNYHur5aPqVt5gyM5GUkr2VqKi4e00S6QbQFo+8y1DqstfjTz/m12qYI5XoQ BUgm/qd5koNes0COyW/rp6ni+f4HB4s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806737; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8edIr53G/Qj//Dbe2WlIDOkCvNZF3h0spkoI4w+hfb4=; b=VZKhMhBhVEfwm+bxj6dFoHOXEi2AFpxqlx9n8QxnL7sgBPamIIKTXBH6mqumf4nB4dCdhZ 6xBNYbvX1GyNYHur5aPqVt5gyM5GUkr2VqKi4e00S6QbQFo+8y1DqstfjTz/m12qYI5XoQ BUgm/qd5koNes0COyW/rp6ni+f4HB4s= X-MC-Unique: Fy39_4UbMf-nJYFJqsCqJg-1 X-Mimecast-MFC-AGG-ID: Fy39_4UbMf-nJYFJqsCqJg_1770806735 To: devel@lists.libvirt.org Subject: [PATCH 4/5] docs: Document firmwareFeature element for domaincaps Date: Wed, 11 Feb 2026 11:45:25 +0100 Message-ID: <20260211104526.627199-5-abologna@redhat.com> In-Reply-To: <20260211104526.627199-1-abologna@redhat.com> References: <20260211104526.627199-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 2D7zU7zNzZF8P3mV05hOPOLIWznHycpWwrFkN2NAEF4_1770806735 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 5NZJJJXFNV56HTB2QE4UQ4BEAMNDBO53 X-Message-ID-Hash: 5NZJJJXFNV56HTB2QE4UQ4BEAMNDBO53 X-MailFrom: abologna@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Andrea Bolognani via Devel Reply-To: Andrea Bolognani X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1770905326086154100 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- docs/formatdomaincaps.rst | 51 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/docs/formatdomaincaps.rst b/docs/formatdomaincaps.rst index 8b4f0ecff3..618fcb642d 100644 --- a/docs/formatdomaincaps.rst +++ b/docs/formatdomaincaps.rst @@ -111,6 +111,16 @@ be passed to its children. bios efi + + + yes + no + + + yes + no + + /usr/share/OVMF/OVMF_CODE.fd @@ -140,6 +150,47 @@ about a given BIOS or UEFI binary on the host, e.g. th= e firmware binary path, its architecture, supported machine types, NVRAM template, etc. This ensur= es that the reported values won't cause a failure on guest boot. =20 +The ```` element :since:`(since 12.1.0)` contains one +enum for each of the features that can be used to fine-tune the firmware +autoselection process. For example: + +:: + + + + yes + + + yes + no + + + +indicates that a domain XML such as: + +:: + + + + + + + + +can be used to allow unsigned operating system to run, whereas a domain XML +such as: + +:: + + + + + + + +would not work, since ``no`` is not one of the valid values advertised by +the ``secureBoot`` enum. + For the ``loader`` element, the following can occur: =20 ``value`` --=20 2.53.0 From nobody Wed Apr 15 07:04:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1770900725; cv=none; d=zohomail.com; s=zohoarc; b=JpLE5r0um1gfINZ4FSIoGOCf+7l+LmR+6fvX3/XTpvP+E7FnqLCLvrSUr7aJp6wVdKeZMek3zQRlccHxIM8y7DwByScLBR76oKBITKZ0o05bPB3RKAM/admDs9nfCxdWG5cYWjmBPT/GBBijdM0e7PN9ZugPir+ilgt6KgdpiRA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770900725; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=w6YgYHDjwIAfA3g+bdNAHHnDMCyk6gjmCcuLnily9lc=; b=agAeFWbKMnEqC9W+ZP8gzMeEVffARaoqAGI/qtW7RjZgkIH9pbiI1xWnvtftvBsq2W6s6P6UlD/BIfD58buULGpGrX+3qhPMulT0PxXofRSi5YhgZvtHuB3IzRre6UhtXFSBdO68v2PWij+LGU8ZKu1mWVKJgTZKBRh5ya2OQ3s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1770900725537597.4883762725278; Thu, 12 Feb 2026 04:52:05 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 731C04560C; Thu, 12 Feb 2026 07:52:04 -0500 (EST) Received: from [172.19.199.6] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id A563E41BC3; Thu, 12 Feb 2026 07:47:35 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 565B745A80; Thu, 12 Feb 2026 07:39:35 -0500 (EST) Received: from mx1.osci.io (unknown [8.43.85.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id A6CEC418F2 for ; Thu, 12 Feb 2026 07:38:21 -0500 (EST) Received: by mx1.osci.io (Postfix, from userid 995) id A4D312AAC9; Wed, 11 Feb 2026 05:45:39 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mx1.osci.io (Postfix) with ESMTPS id 3D8092AACF for ; Wed, 11 Feb 2026 05:45:39 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-68-WqsEjoYQOMeO9Cv5tvuWlw-1; Wed, 11 Feb 2026 05:45:36 -0500 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 302761956089 for ; Wed, 11 Feb 2026 10:45:36 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.44.34.211]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 679341800668 for ; Wed, 11 Feb 2026 10:45:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806738; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w6YgYHDjwIAfA3g+bdNAHHnDMCyk6gjmCcuLnily9lc=; b=HjvVyhEy7931MllJYUsZ1UsJl6sgpqz4SoGa25p07x9LhAgo5usrjUh/KVvrTf1iJx4Nt4 0KHzpr+C3R0EmvPv5PxPrX6c3lhHu8/z0MW5/YfE1g0ZOYRWqQ49uvR6i5/WlezaZ6MYuL 5w9N3Elnp4IGl/2yXvzH4fTV2zJFaIM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770806738; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w6YgYHDjwIAfA3g+bdNAHHnDMCyk6gjmCcuLnily9lc=; b=HjvVyhEy7931MllJYUsZ1UsJl6sgpqz4SoGa25p07x9LhAgo5usrjUh/KVvrTf1iJx4Nt4 0KHzpr+C3R0EmvPv5PxPrX6c3lhHu8/z0MW5/YfE1g0ZOYRWqQ49uvR6i5/WlezaZ6MYuL 5w9N3Elnp4IGl/2yXvzH4fTV2zJFaIM= X-MC-Unique: WqsEjoYQOMeO9Cv5tvuWlw-1 X-Mimecast-MFC-AGG-ID: WqsEjoYQOMeO9Cv5tvuWlw_1770806736 To: devel@lists.libvirt.org Subject: [PATCH 5/5] news: Mention firmwareFeatures element for domaincaps Date: Wed, 11 Feb 2026 11:45:26 +0100 Message-ID: <20260211104526.627199-6-abologna@redhat.com> In-Reply-To: <20260211104526.627199-1-abologna@redhat.com> References: <20260211104526.627199-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: I3ycnCfBd1eqzWqOj_DuRUxgBxkqX2UUpF3uNtn8wGE_1770806736 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: YT6WG6GMXDLJ5MEHRYYWRVLHG3AB2CMP X-Message-ID-Hash: YT6WG6GMXDLJ5MEHRYYWRVLHG3AB2CMP X-MailFrom: abologna@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Andrea Bolognani via Devel Reply-To: Andrea Bolognani X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1770900728132154100 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- NEWS.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 54f541cdbc..7a80116de3 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -17,6 +17,13 @@ v12.1.0 (unreleased) =20 * **New features** =20 + * qemu: Advertise firmware features in domain capabilities XML + + The contents of the ```` element can be used to det= ermine + ahead of time whether a firmware matching certain characteristics, for + example Secure Boot support, is available for the selected architectur= e and + machine type. + * **Improvements** =20 * **Bug fixes** --=20 2.53.0