libvirt/tests/xlconfigdata
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
..
test-channel-pty.cfg xlconfigtest: add test for channel conversion 2016-09-27 15:15:03 -06:00
test-channel-pty.xml xlconfigtest: add test for channel conversion 2016-09-27 15:15:03 -06:00
test-channel-unix.cfg xlconfigtest: add test for channel conversion 2016-09-27 15:15:03 -06:00
test-channel-unix.xml xlconfigtest: add test for channel conversion 2016-09-27 15:15:03 -06:00
test-disk-positional-parms-full.cfg
test-disk-positional-parms-full.xml
test-disk-positional-parms-partial.cfg xenconfig: fix handling of NULL disk source 2017-05-19 08:47:36 -06:00
test-disk-positional-parms-partial.xml xenconfig: fix handling of NULL disk source 2017-05-19 08:47:36 -06:00
test-disk-qed.cfg tests: fix QED disk test in xlconfigtest 2017-01-17 08:41:59 -07:00
test-disk-qed.xml xen: add QED format test 2016-12-21 15:06:40 +01:00
test-fullvirt-direct-kernel-boot-bogus-extra.cfg
test-fullvirt-direct-kernel-boot-bogus-extra.xml
test-fullvirt-direct-kernel-boot-extra.cfg
test-fullvirt-direct-kernel-boot-extra.xml
test-fullvirt-direct-kernel-boot.cfg
test-fullvirt-direct-kernel-boot.xml
test-fullvirt-hpet-timer.cfg tests: add xlconfig tests for <timer> configurations 2017-01-24 16:18:13 -07:00
test-fullvirt-hpet-timer.xml tests: add xlconfig tests for <timer> configurations 2017-01-24 16:18:13 -07:00
test-fullvirt-multi-timer.cfg tests: add xlconfig tests for <timer> configurations 2017-01-24 16:18:13 -07:00
test-fullvirt-multi-timer.xml tests: add xlconfig tests for <timer> configurations 2017-01-24 16:18:13 -07:00
test-fullvirt-multiserial.cfg
test-fullvirt-multiserial.xml
test-fullvirt-multiusb.cfg
test-fullvirt-multiusb.xml
test-fullvirt-nestedhvm-disabled.cfg xlconfigtest: add tests for 'nestedhvm' support 2017-04-27 15:05:44 -06:00
test-fullvirt-nestedhvm-disabled.xml xlconfigtest: add tests for 'nestedhvm' support 2017-04-27 15:05:44 -06:00
test-fullvirt-nestedhvm.cfg xlconfigtest: add tests for 'nestedhvm' support 2017-04-27 15:05:44 -06:00
test-fullvirt-nestedhvm.xml xlconfigtest: add tests for 'nestedhvm' support 2017-04-27 15:05:44 -06:00
test-fullvirt-nohap.cfg
test-fullvirt-nohap.xml
test-fullvirt-ovmf.cfg
test-fullvirt-ovmf.xml
test-fullvirt-tsc-timer.cfg libxl: add support for specifying clock offset and adjustment 2018-02-21 12:28:49 -07:00
test-fullvirt-tsc-timer.xml libxl: add support for specifying clock offset and adjustment 2018-02-21 12:28:49 -07:00
test-fullvirt-vnuma-autocomplete.cfg xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -07:00
test-fullvirt-vnuma-autocomplete.xml xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -07:00
test-fullvirt-vnuma-nodistances.cfg xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -07:00
test-fullvirt-vnuma-nodistances.xml xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -07:00
test-fullvirt-vnuma-partialdist.cfg xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -07:00
test-fullvirt-vnuma-partialdist.xml xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -07:00
test-fullvirt-vnuma.cfg xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -07:00
test-fullvirt-vnuma.xml xlconfigtest: add tests for vNUMA configuration 2017-11-12 19:39:24 -07:00
test-new-disk.cfg
test-new-disk.xml
test-paravirt-cmdline-bogus-extra-root.cfg
test-paravirt-cmdline-bogus-extra-root.xml
test-paravirt-cmdline-extra-root.cfg
test-paravirt-cmdline-extra-root.xml
test-paravirt-cmdline.cfg
test-paravirt-cmdline.xml
test-paravirt-maxvcpus.cfg
test-paravirt-maxvcpus.xml
test-rbd-multihost-noauth.cfg
test-rbd-multihost-noauth.xml
test-spice-features.cfg
test-spice-features.xml
test-spice.cfg
test-spice.xml
test-usb.cfg
test-usb.xml
test-usbctrl.cfg
test-usbctrl.xml
test-vif-multi-ip.cfg tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
test-vif-multi-ip.xml tests: add test for multiple IPs for libxl and xenconfig driver 2017-12-08 14:04:57 -07:00
test-vif-rate.cfg
test-vif-rate.xml
test-vif-typename.cfg
test-vif-typename.xml