summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hahn <hahn@univention.de>2012-02-06 14:59:16 +0100
committerEric Blake <eblake@redhat.com>2012-04-02 09:08:31 -0600
commitb8bf79aad76040a4106903c3a8af42e7580f80de (patch)
tree30d108fd1cb75bdcd6b11cc4c707c48872e197dd /tests/qemuxml2argvdata
parentFix typos and spacing in messages. (diff)
downloadlibvirt-b8bf79aad76040a4106903c3a8af42e7580f80de.tar.gz
libvirt-b8bf79aad76040a4106903c3a8af42e7580f80de.tar.bz2
libvirt-b8bf79aad76040a4106903c3a8af42e7580f80de.zip
Support clock=variable relative to localtime
Since Xen 3.1 the clock=variable semantic is supported. In addition to qemu/kvm Xen also knows about a variant where the offset is relative to 'localtime' instead of 'utc'. Extends the libvirt structure with a flag 'basis' to specify, if the offset is relative to 'localtime' or 'utc'. Extends the libvirt structure with a flag 'reset' to force the reset behaviour of 'localtime' and 'utc'; this is needed for backward compatibility with previous versions of libvirt, since they report incorrect XML. Adapt the only user 'qemu' to the new name. Extend the RelaxNG schema accordingly. Document the new 'basis' attribute in the HTML documentation. Adapt test for the new attribute. Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'tests/qemuxml2argvdata')
-rw-r--r--tests/qemuxml2argvdata/qemuxml2argv-clock-variable.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-clock-variable.xml b/tests/qemuxml2argvdata/qemuxml2argv-clock-variable.xml
index 97c0aedb4..73103bbb3 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-clock-variable.xml
+++ b/tests/qemuxml2argvdata/qemuxml2argv-clock-variable.xml
@@ -8,7 +8,7 @@
<type arch='i686' machine='pc'>hvm</type>
<boot dev='hd'/>
</os>
- <clock offset='variable' adjustment='123456'/>
+ <clock offset='variable' adjustment='123456' basis='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>