]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Support clock=variable relative to localtime
authorPhilipp Hahn <hahn@univention.de>
Mon, 6 Feb 2012 13:59:16 +0000 (14:59 +0100)
committerEric Blake <eblake@redhat.com>
Mon, 2 Apr 2012 15:08:31 +0000 (09:08 -0600)
commitb8bf79aad76040a4106903c3a8af42e7580f80de
tree30d108fd1cb75bdcd6b11cc4c707c48872e197dd
parent867ed7bb9eecd1ba1c54caf828c8f03d64030b60
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>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_command.c
src/qemu/qemu_process.c
tests/qemuxml2argvdata/qemuxml2argv-clock-variable.xml