• D
    Add new clock mode allowing variable adjustments · b9e2967a
    Daniel P. Berrange 提交于
    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
    b9e2967a
xml.c 14.6 KB