[libvirt] [PATCH] Fix time keeping example for the guest clock

Doug Goldstein cardoe at cardoe.com
Sat Jul 21 13:14:44 UTC 2012


The time keeping example was missing quotes which resulted in an error
if you copied and pasted the example into a domain's XML. Additionally
the rest of the examples use single quotes (') instead of double quotes
(") so standardized that.
---
 docs/formatdomain.html.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index b6e0d5d..b8db76e 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -983,11 +983,11 @@
 
 <pre>
   ...
-  <clock offset="localtime">
-    <timer name="rtc" tickpolicy="catchup" track="guest">
-      <catchup threshold=123 slew=120 limit=10000/>
+  <clock offset='localtime'>
+    <timer name='rtc' tickpolicy='catchup' track='guest'>
+      <catchup threshold='123' slew='120' limit='10000'/>
     </timer>
-    <timer name="pit" tickpolicy="delay"/>
+    <timer name='pit' tickpolicy='delay'/>
   </clock>
   ...</pre>
 
-- 
1.7.8.6




More information about the libvir-list mailing list