]> xenbits.xensource.com Git - libvirt.git/commit
conf: Introduce 'absolute' clock offset
authorPeter Krempa <pkrempa@redhat.com>
Tue, 26 Apr 2022 15:00:36 +0000 (17:00 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 May 2022 17:30:59 +0000 (19:30 +0200)
commitd53e75aad06074446851134e8aeaa5b97062c830
treeb21c70a09f66ebddf8b4e92dc602fea38fc36e7f
parent9cd2c5257afc9ca985b9b713922c5c68f524f44a
conf: Introduce 'absolute' clock offset

The 'absolute' clock offset type has a 'start' attribute which is an
unix epoch timestamp to which the hardware clock is always set at start
of the VM.

This is useful if some VM needs to be kept set to an arbitrary time for
e.g. testing or working around broken software.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/schemas/domaincommon.rng
src/libxl/libxl_conf.c
tests/qemuxml2argvdata/clock-absolute.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/clock-absolute.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c