From nobody Mon Feb 9 17:57:52 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1676457803; cv=none; d=zohomail.com; s=zohoarc; b=joVyJutDzNlVrlN7ueC34rHlBqdEfQb+CvQ8U3XwBGKXpctkAPorFyvMTpc++Q39hukHSCSjjvZzm3WbTmAVaG0Hw3mJkKP7czy8ZBumRO0wpO68dXAcaNLl0c5Mb+50+06JBkw5F/1tpu93CGLhAV9pj1EbBmV4Ah1g1AaEf/o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1676457803; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ModqTiY/EMDbgrbUtR+IocqWGdA2T8JgFL8xh/B8Pb8=; b=jQgTbqY661tfaT77oIIpOXiHzuCDEtYynr9/zIvflE42rK1Bq8jkvEWz5oqysibSql0JvLNuH3AbP6Sd9pmGAtn22gk98fMKokfqXfhsBHWEY6rDw9Sbu3//gVXxQrrL9BleCmylWMQbNynkUgcLD15SHrkrTt8AhE53xAf7H2o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1676457803238450.3220147956748; Wed, 15 Feb 2023 02:43:23 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-445-jbzQJZqPNLunHCVpFZOLRw-1; Wed, 15 Feb 2023 05:43:18 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E8FD7882852; Wed, 15 Feb 2023 10:43:09 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id C8851C16022; Wed, 15 Feb 2023 10:43:09 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id ECF59194658D; Wed, 15 Feb 2023 10:43:03 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id CE58019465A3 for ; Wed, 15 Feb 2023 10:42:57 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id C855514171BA; Wed, 15 Feb 2023 10:42:57 +0000 (UTC) Received: from harajuku.usersys.redhat.com (ovpn-194-29.brq.redhat.com [10.40.194.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4D3DD140EBF4 for ; Wed, 15 Feb 2023 10:42:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676457802; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ModqTiY/EMDbgrbUtR+IocqWGdA2T8JgFL8xh/B8Pb8=; b=Ajy4QaFF/ixhNkVxTkJEVlfAH4xRen0K0X/VYWoOK7brEgLg8btTtoLkgDjDJ5juqvMcqO tAMAx1WTzKHdSVxZUOyFJra6dR+sYbL1fW0+H4nIrRwvOKMwRLByf3EtQc4jsIqDGyx0Eh /8baSN8q8n8cR587tJjNmvAAYGEKtkI= X-MC-Unique: jbzQJZqPNLunHCVpFZOLRw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 31/33] docs: Document firmware format attribute Date: Wed, 15 Feb 2023 11:42:28 +0100 Message-Id: <20230215104230.980815-32-abologna@redhat.com> In-Reply-To: <20230215104230.980815-1-abologna@redhat.com> References: <20230215104230.980815-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1676457803921100005 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Andrea Bolognani --- docs/formatdomain.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index 8407bab1ba..6122f30b76 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -257,6 +257,11 @@ harddisk, cdrom, network) determining where to obtain/= find the boot image. any config changes on shutdown. The ``stateless`` flag (:since:`Since 8= .6.0`) can be used to control this behaviour, when set to ``yes`` NVRAM will n= ever be created. + + When firmware autoselection is enabled, the ``format`` attribute can be + used to tell libvirt to only consider firmware builds that are in a + specific format. Supported values are ``raw`` and ``qcow2``. + :since:`Since 9.1.0 (QEMU only)` ``nvram`` Some UEFI firmwares may want to use a non-volatile memory to store some variables. In the host, this is represented as a file and the absolute = path @@ -276,6 +281,10 @@ harddisk, cdrom, network) determining where to obtain/= find the boot image. **Note:** ``network`` backed NVRAM the variables are not instantiated f= rom the ``template`` and it's user's responsibility to provide a valid NVRA= M image. =20 + This element supports a ``format`` attribute, which has the same semant= ics + as the attribute of the same name for the ```` element. + :since:`Since 9.1.0 (QEMU only)` + It is not valid to provide this element if the loader is marked as stateless. =20 --=20 2.39.1