libvirt/tests/libxlxml2domconfigdata
Jim Fehlig c391e07eb0 libxl: add support for specifying clock offset and adjustment
libxl supports setting the domain real time clock to local time or
UTC via the localtime field of libxl_domain_build_info. Adjustment
of the clock is also supported via the rtc_timeoffset field. The
libvirt libxl driver has never supported these settings, instead
relying on libxl's default of a UTC real time clock with adjustment
set to 0.

There is at least one user that would like the ability to change
the defaults

https://www.redhat.com/archives/libvirt-users/2018-February/msg00059.html

Add support for specifying a local time clock and for specifying an
adjustment for both local time and UTC clocks. Add a test case to
verify the XML to libxl_domain_config conversion.

Local time clock and clock adjustment is already supported by the
XML <-> xl.cfg converter. What is missing is an explicit test for
the conversion. There are plenty of existing tests that all use UTC
with 0 adjustment. Hijack test-fullvirt-tsc-timer to test a local
time clock with 1 hour adjustment.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2018-02-21 12:28:49 -07:00
..
basic-hvm.json libxl: Add a test suite for libxl_domain_config generator 2017-08-04 10:17:55 -06:00
basic-hvm.xml Misc XML schema fixes for libxl 2017-11-30 10:20:06 +00:00
basic-pv.json libxl: Add a test suite for libxl_domain_config generator 2017-08-04 10:17:55 -06:00
basic-pv.xml libxl: Add a test suite for libxl_domain_config generator 2017-08-04 10:17:55 -06:00
moredevs-hvm.json libxl: Add a test suite for libxl_domain_config generator 2017-08-04 10:17:55 -06:00
moredevs-hvm.xml libxl: Add a test suite for libxl_domain_config generator 2017-08-04 10:17:55 -06:00
multiple-ip.json tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
multiple-ip.xml tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
variable-clock-hvm.json libxl: add support for specifying clock offset and adjustment 2018-02-21 12:28:49 -07:00
variable-clock-hvm.xml libxl: add support for specifying clock offset and adjustment 2018-02-21 12:28:49 -07:00
vnuma-hvm.json libxlxml2domconfigtest: add test for vNUMA config 2017-11-12 19:39:57 -07:00
vnuma-hvm.xml Misc XML schema fixes for libxl 2017-11-30 10:20:06 +00:00