]> xenbits.xensource.com Git - libvirt.git/commit
Add new clock mode allowing variable adjustments
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Feb 2010 17:49:09 +0000 (17:49 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 1 Mar 2010 18:36:01 +0000 (18:36 +0000)
commitb9e2967a5ecbad6fd5d62e6e7a951cb4b50426a6
tree712cd836a6fe647e51f52de217edec992d489ad2
parenteed2f8c3a99ef080b798947ff5b4c83e7a111919
Add new clock mode allowing variable adjustments

This introduces a third option for clock offset synchronization,
that allows an arbitrary / variable adjustment to be set. In
essence the XML contains the time delta in seconds, relative to
UTC.

  <clock offset='variable' adjustment='123465'/>

The difference from 'utc' mode, is that management apps should
track adjustments and preserve them at next reboot.

* docs/schemas/domain.rng: Schema for new clock mode
* src/conf/domain_conf.c, src/conf/domain_conf.h: Parse
  new clock time delta
* src/libvirt_private.syms, src/util/xml.c, src/util/xml.h: Add
  virXPathLongLong() method
docs/schemas/domain.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/util/xml.c
src/util/xml.h