render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
3ec523
From 2b30f114b796aee6f92eb13244f8cd42ef523bfe Mon Sep 17 00:00:00 2001
3ec523
From: Michal Privoznik <mprivozn@redhat.com>
3ec523
Date: Fri, 12 Sep 2014 13:18:32 +0200
3ec523
Subject: [PATCH] formatdomain: Update <loader/> example to match the rest
3ec523
3ec523
At the beginning when I was inventing <loader/> attributes and
3ec523
<nvram/> I've introduced this @readonly attribute to the loader
3ec523
element. It accepted values 'on' and 'off'. However, later, during the
3ec523
review process, that has changed to 'yes' and 'no', but the example
3ec523
XML snippet wasn't updated, so while the description is correct, the
3ec523
example isn't.
3ec523
3ec523
Reported-by: Laszlo Ersek <lersek@redhat.com>
3ec523
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
3ec523
(cherry picked from commit dcf7d0423c1ad79e45df4ddd1cb619603cf221e7)
3ec523
---
3ec523
 docs/formatdomain.html.in | 2 +-
3ec523
 1 file changed, 1 insertion(+), 1 deletion(-)
3ec523
3ec523
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
3ec523
index a2ea758..5081be3 100644
3ec523
--- a/docs/formatdomain.html.in
3ec523
+++ b/docs/formatdomain.html.in
3ec523
@@ -102,7 +102,7 @@
3ec523
   ...
3ec523
   <os>
3ec523
     <type>hvm</type>
3ec523
-    <loader readonly='on' type='rom'>/usr/lib/xen/boot/hvmloader</loader>
3ec523
+    <loader readonly='yes' type='rom'>/usr/lib/xen/boot/hvmloader</loader>
3ec523
     <nvram template='/usr/share/OVMF/OVMF_VARS.fd'>/var/lib/libvirt/nvram/guest_VARS.fd</nvram>
3ec523
     <boot dev='hd'/>
3ec523
     <boot dev='cdrom'/>