From nobody Wed May 14 10:48:46 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1526901100073569.5315475026; Mon, 21 May 2018 04:11:40 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4B998C9DCB; Mon, 21 May 2018 11:11:38 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 086A65D9C5; Mon, 21 May 2018 11:11:38 +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 5C4C91801254; Mon, 21 May 2018 11:11:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w4LBBYD9015687 for ; Mon, 21 May 2018 07:11:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id C225230BAFA9; Mon, 21 May 2018 11:11:34 +0000 (UTC) Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1FAD130BAFA0; Mon, 21 May 2018 11:11:26 +0000 (UTC) Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CF842C0C9A7F; Mon, 21 May 2018 11:11:14 +0000 (UTC) Received: by mail-pl0-f66.google.com with SMTP id n10-v6so8628048plp.0; Mon, 21 May 2018 04:11:14 -0700 (PDT) Received: from ps-f25-dev.eng.nutanix.com ([205.209.132.2]) by smtp.gmail.com with ESMTPSA id t68-v6sm25104896pfe.17.2018.05.21.04.11.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 May 2018 04:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=t7xFzzA1D8r7GpyeNIg8FU9TwGopsDLYiflxqxhMWuU=; b=LBO/L+iF5M/z4NfKdzAspFU6fLmQ7O+IWNRaysk7R/mzs2XqO1vaRK8RxEw7tEQIDT zNtvcDFFpx4k9vM/6p6kH2C1VtN0o37g6kYDquz+4V0SwfZKiK+iDN2JMqQyInnGI5KT ojr7AYx91xaaZnqK6DeupvJNMXC1eo2XI4odsKoi2E/v97X0Xf+xwRmahJ97mU6pGfmf NJD04BMcSLhnF4z4ytVRlqaHmzDX/EX8sF9lXJj09ug0Tb2yLfHs5tuWp1ZtRR8vLHu5 01z2EhN13na6SYPQQh3E0vErFw09macIcloFB3r+4lIsiwlExdOqDBuoHM7bZ3stllPL icqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=t7xFzzA1D8r7GpyeNIg8FU9TwGopsDLYiflxqxhMWuU=; b=frdHZ8M0YTRtB4/d5LemHvRuyVUIVWzIM2ud4TIqVxKqUX+Bsz38wvKFWlYSTcf6UR +vK9KgbEFnRNZD0QXu1KLSMZgLsw4yTu/Fj0oU573/DwX8HPtXRWPy6dULATZeR5dCnC kGeoaGjHp9B1KBmy7bydKBasxKQuI87aIVAl0MaA0b/kxx3YoFly81Q/3xiOTrqduKDj 7e+FGQVyXjDTK903ktVMxnx4YKlfJpqcdhGQSdW0KPrzw6EG6jbW7XkpbDo1i16dmNMX LgK+os2Q6yPC37gI4bPu70Paqi+ahzXIMrs9aSXSSDUoYaZqmlv0DJT1w0b5vDvpw0+C lp2Q== X-Gm-Message-State: ALKqPwe0kVacZFzYdxQQEpFPORbwzq3tBQxo/P9dbGSlF7vUgFrd88d2 OhdZ3lD4519PA0fbDQdhCa15FA== X-Google-Smtp-Source: AB8JxZpZupLyWLuGjlVHOoWHZayqtznRt9gYPdphM/0/afnt+5e6j0ffyUyH0PMtEO9ZXCcjAG26Pg== X-Received: by 2002:a17:902:3a5:: with SMTP id d34-v6mr20395512pld.103.1526901074105; Mon, 21 May 2018 04:11:14 -0700 (PDT) From: Prerna Saxena To: libvir-list@redhat.com Date: Mon, 21 May 2018 04:10:50 -0700 Message-Id: <20180521111050.10084-5-saxenap.ltc@gmail.com> In-Reply-To: <20180521111050.10084-1-saxenap.ltc@gmail.com> References: <20180521111050.10084-1-saxenap.ltc@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 21 May 2018 11:11:15 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 21 May 2018 11:11:15 +0000 (UTC) for IP:'209.85.160.66' DOMAIN:'mail-pl0-f66.google.com' HELO:'mail-pl0-f66.google.com' FROM:'saxenap.ltc@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.281 * (DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS, T_DKIM_INVALID) 209.85.160.66 mail-pl0-f66.google.com 209.85.160.66 mail-pl0-f66.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-loop: libvir-list@redhat.com Cc: pkrempa@redhat.com, mprivozn@redhat.com Subject: [libvirt] [ v3 4/4] Documentation: Add a blurb for the newly added XML snippets for loader and nvram. 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 21 May 2018 11:11:38 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Prerna Saxena --- docs/formatdomain.html.in | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 0d0fd3b..2ba2761 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -112,6 +112,20 @@ </os> ... =20 +

Where loader/NVRAM can also be described as:

+ +
+...
+  <loader readonly=3D'yes' secure=3D'no' type=3D'rom' backing=3D'file'&=
gt;
+    <source file=3D'/usr/share/OVMF/OVMF_CODE.fd'/>
+  </loader>
+  <nvram backing=3D'network' template=3D'/usr/share/OVMF/OVMF_VARS.fd'&=
gt;
+    <source protocol=3D'iscsi' name=3D'iqn.2013-07.com.example:iscsi-no=
pool/2'>
+      <host name=3D'example.com' port=3D'3260'/>
+    </source>
+  </nvram>
+...
+
type
The content of the type element specifies the @@ -143,7 +157,15 @@ pflash. Moreover, some firmwares may implement the Secure boot feature. Attribute secure can be used then to control it. - Since 2.1.0
+ Since 2.1.0Sinc= e 4.5.0 + Loader element can also be specified as a remote disk. The attribu= te + backing (accepted values are + file and network)can be used to represent + local absolute paths as well as network-backed disks. The details = of + backing file may be specified as s= torage source + Allowed backing type file replaces the old + specification and extends to all hypervisors that supported it, wh= ile + type network is only supported by QEMU.
nvram
Some UEFI firmwares may want to use a non-volatile memory to sto= re some variables. In the host, this is represented as a file and the @@ -154,7 +176,15 @@ from the config file. Note, that for transient domains if the NVRA= M file has been created by libvirt it is left behind and it is management application's responsibility to save and remove file (if needed to= be - persistent). Since 1.2.8
+ persistent). Since 1.2.8 + Since 4.5.0, attribute + backing(accepted values file + and network)can be used to specify a + storage source + of type file or network. The value filedescribes + absolute NVRAM paths and extends the present specification + for all hypervisors that support this, while + network applies only to QEMU.
boot
The dev attribute takes one of the values "fd", "hd= ", "cdrom" or "network" and is used to specify the next boot device @@ -2726,7 +2756,7 @@
-
source
+
Disk source
Representation of the disk source depends on the disk type attribute value as follows:
--=20 1.8.1.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list