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
..
2017-08-06 09:24:26 +04:00
2017-08-06 09:24:26 +04:00
2017-11-20 13:22:48 +01:00
2018-01-18 15:04:18 +01:00
2018-01-25 15:30:32 +01:00
2017-11-07 14:58:04 +01:00
2017-11-07 14:58:04 +01:00
2018-02-02 14:51:32 +01:00
2018-02-02 14:51:32 +01:00
2018-02-21 12:28:49 -07:00
2017-07-11 10:41:24 +02:00
2017-09-18 08:32:24 -04:00
2017-12-07 09:21:04 +00:00
2017-12-07 09:21:04 +00:00
2017-12-05 14:52:49 +01:00
2018-01-31 11:32:04 -05:00
2018-02-02 15:19:14 -05:00
2017-11-30 16:49:05 +01:00
2017-10-27 14:43:21 +02:00
2018-01-31 11:32:04 -05:00
2017-07-15 14:50:42 +02:00
2017-08-03 09:54:36 +02:00
2018-02-17 07:36:59 -05:00
2018-02-17 07:36:46 -05:00
2017-10-17 06:19:18 +02:00
2018-01-12 09:24:14 -05:00
2018-01-25 17:16:08 +01:00
2017-07-13 09:37:52 +02:00
2017-10-16 10:22:34 +01:00
2017-07-26 15:33:45 +02:00
2018-01-11 14:23:09 +01:00
2017-07-11 14:24:17 +02:00
2017-08-03 09:54:36 +02:00
2018-02-02 13:00:48 +00:00
2018-01-25 17:16:08 +01:00
2018-02-21 12:28:49 -07:00
2017-11-30 10:20:45 +00:00
2018-02-19 13:15:00 -05:00
2017-11-03 13:24:12 +01:00
2018-02-19 21:18:49 -05:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-09-19 16:04:53 +02:00
2017-09-21 08:55:07 +01:00
2017-11-20 13:22:48 +01:00
2018-01-17 17:07:02 +01:00
2017-12-12 16:41:25 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-02-02 14:51:32 +01:00
2017-11-03 13:24:12 +01:00
2018-02-21 12:28:49 -07:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-02-19 12:11:40 +00:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-09-20 11:52:56 +02:00
2017-09-19 16:04:53 +02:00
2017-11-03 13:24:12 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-14 10:24:36 +01:00
2018-01-04 16:52:03 +01:00
2017-11-03 13:24:12 +01:00
2018-01-22 14:11:58 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-07-26 15:35:24 +02:00
2017-11-28 15:51:33 +01:00
2018-02-19 11:11:47 +00:00
2018-02-02 14:52:23 -05:00
2018-02-19 11:11:46 +00:00
2017-11-03 13:24:12 +01:00
2018-02-19 15:47:37 +00:00
2018-02-13 14:40:11 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-01-31 18:34:48 +00:00
2017-11-03 13:24:12 +01:00
2018-01-12 09:24:14 -05:00
2017-11-18 10:45:10 +01:00
2017-11-03 13:24:12 +01:00
2017-07-26 15:35:02 +02:00
2018-01-04 16:52:03 +01:00
2017-07-26 15:36:21 +02:00
2017-07-26 15:35:02 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-02-05 16:08:57 +01:00
2017-11-03 13:24:12 +01:00
2017-11-22 11:27:40 +01:00
2017-11-14 14:45:19 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-09 08:04:26 -07:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-08-03 09:54:36 +02:00
2017-11-03 13:24:12 +01:00
2017-07-26 15:33:45 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-01-10 17:34:37 -05:00
2017-11-24 11:47:26 -05:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-12-12 16:34:12 +00:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-12 19:39:57 -07:00
2018-02-02 13:00:48 +00:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-02-02 13:00:48 +00:00
2017-08-30 10:50:17 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-01-25 17:16:08 +01:00
2017-11-30 10:20:06 +00:00
2017-11-03 13:24:12 +01:00
2018-02-13 10:27:32 -05:00
2018-02-14 16:04:46 +01:00
2017-11-03 13:24:12 +01:00
2018-01-04 09:29:49 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-10-05 09:09:50 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-12-08 14:04:57 -07:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00