]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Expand docs about clock modes
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Feb 2010 18:46:52 +0000 (18:46 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 1 Mar 2010 18:43:04 +0000 (18:43 +0000)
* formatdomain.html.in: Document new clock options

docs/formatdomain.html.in

index c4ba54f687023b1c11babe3ed533223897d43235..14d237198ab518da3c97ae38464d20878437bd43 100644 (file)
 
     <dl>
       <dt><code>clock</code></dt>
-      <dd>The <code>offset</code> attribute takes either "utc" or
-        "localtime" to specify how the guest clock is initialized
-        in relation to the host OS.
+      <dd>
+       <p>The <code>offset</code> attribute takes three possible
+         values, allowing fine grained control over how the guest
+         clock is synchronized to the host. NB, not all hypervisors
+         support all modes.</p>
+       <dl>
+         <dt><code>utc</code></dt>
+         <dd>
+           The guest clock will always be synchronized to UTC when
+           booted</dd>
+         <dt><code>localtime</code></dt>
+         <dd>
+           The guest clock will be synchronized to the host's configured
+           timezone when booted, if any.
+         </dd>
+         <dt><code>timezone</code></dt>
+         <dd>
+           The guest clock will be synchronized to the requested timezone
+           using the <code>timezone</code> attribute.
+         </dd>
+         <dt><code>variable</code></dt>
+         <dd>
+           The guest clock will have an arbitrary offset applied
+           relative to UTC. The delta relative to UTC is specified
+           in seconds, using the <code>adjustment</code> attribute.
+           The guest is free to adjust the RTC over time an expect
+           that it will be honoured at next reboot. This is in
+           contrast to 'utc' mode, where the RTC adjustments are
+           lost at each reboot.
+         </dd>
+       </dl>
+       <p>
+         NB, at time of writing, only QEMU supports the variable
+         clock mode, or custom timezones.
+       </p>
       </dd>
     </dl>