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
test-channel-pty.xml
test-channel-unix.cfg
test-channel-unix.xml
test-disk-positional-parms-full.cfg
test-disk-positional-parms-full.xml
test-disk-positional-parms-partial.cfg
test-disk-positional-parms-partial.xml
test-disk-qed.cfg
test-disk-qed.xml
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
test-fullvirt-hpet-timer.xml
test-fullvirt-multi-timer.cfg
test-fullvirt-multi-timer.xml
test-fullvirt-multiserial.cfg
test-fullvirt-multiserial.xml
test-fullvirt-multiusb.cfg
test-fullvirt-multiusb.xml
test-fullvirt-nestedhvm-disabled.cfg
test-fullvirt-nestedhvm-disabled.xml
test-fullvirt-nestedhvm.cfg
test-fullvirt-nestedhvm.xml
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
test-fullvirt-vnuma-autocomplete.xml
test-fullvirt-vnuma-nodistances.cfg
test-fullvirt-vnuma-nodistances.xml
test-fullvirt-vnuma-partialdist.cfg
test-fullvirt-vnuma-partialdist.xml
test-fullvirt-vnuma.cfg
test-fullvirt-vnuma.xml
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