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 xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-disk-positional-parms-full.xml xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
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 xenconfig: change 'hap' setting to align with Xen behavior 2016-03-21 09:28:17 -06:00
test-fullvirt-direct-kernel-boot-bogus-extra.xml Fix tests to include video ram size 2016-05-12 14:32:17 +02:00
test-fullvirt-direct-kernel-boot-extra.cfg xenconfig: change 'hap' setting to align with Xen behavior 2016-03-21 09:28:17 -06:00
test-fullvirt-direct-kernel-boot-extra.xml Fix tests to include video ram size 2016-05-12 14:32:17 +02:00
test-fullvirt-direct-kernel-boot.cfg xenconfig: change 'hap' setting to align with Xen behavior 2016-03-21 09:28:17 -06:00
test-fullvirt-direct-kernel-boot.xml Fix tests to include video ram size 2016-05-12 14:32:17 +02:00
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 xlconfigdata: add tests for multi serial 2016-09-02 12:46:02 -06:00
test-fullvirt-multiserial.xml xlconfigdata: add tests for multi serial 2016-09-02 12:46:02 -06:00
test-fullvirt-multiusb.cfg test: Remove executable permission from Xen xm files 2016-06-07 14:06:18 -06:00
test-fullvirt-multiusb.xml xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
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 xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-fullvirt-nohap.xml xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-fullvirt-ovmf.cfg xenconfig: support bios=ovmf xl.cfg 2016-06-13 14:13:17 -06:00
test-fullvirt-ovmf.xml xenconfig: support bios=ovmf xl.cfg 2016-06-13 14:13:17 -06:00
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 xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-new-disk.xml xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-paravirt-cmdline-bogus-extra-root.cfg libxl: Support cmdline= in xl config files 2016-01-21 10:48:44 -07:00
test-paravirt-cmdline-bogus-extra-root.xml device: cleanup input device code 2016-01-26 17:53:33 +01:00
test-paravirt-cmdline-extra-root.cfg libxl: Support cmdline= in xl config files 2016-01-21 10:48:44 -07:00
test-paravirt-cmdline-extra-root.xml device: cleanup input device code 2016-01-26 17:53:33 +01:00
test-paravirt-cmdline.cfg xenconfig: produce key=value disk config syntax in xl formatter 2016-02-22 11:46:50 -07:00
test-paravirt-cmdline.xml device: cleanup input device code 2016-01-26 17:53:33 +01:00
test-paravirt-maxvcpus.cfg xenconfig: produce key=value disk config syntax in xl formatter 2016-02-22 11:46:50 -07:00
test-paravirt-maxvcpus.xml device: cleanup input device code 2016-01-26 17:53:33 +01:00
test-rbd-multihost-noauth.cfg xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-rbd-multihost-noauth.xml xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-spice-features.cfg xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-spice-features.xml xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-spice.cfg xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-spice.xml xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-usb.cfg xlconfigtest: add test for USB config conversion 2016-06-14 14:34:50 -06:00
test-usb.xml xlconfigtest: add test for USB config conversion 2016-06-14 14:34:50 -06:00
test-usbctrl.cfg xenconfig: add conversion of usb controller config to and from xml 2016-08-02 14:02:21 +02:00
test-usbctrl.xml xenconfig: add conversion of usb controller config to and from xml 2016-08-02 14:02:21 +02:00
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 xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-vif-rate.xml xlconfigtests: use qemu-xen in all test data files 2016-05-13 10:08:34 -06:00
test-vif-typename.cfg xlconfigtest: add test case for type=vif in xl format 2016-05-17 14:09:11 -06:00
test-vif-typename.xml xlconfigtest: add test case for type=vif in xl format 2016-05-17 14:09:11 -06:00