Hi, New to this list and kindof new to Xen. I''m testing some code that works with communications between different Windows hosts. Right now I''m using Xen and a dozen or so hvms. It would be convenient if I could set the date/time of each hvm when I launch them with XL. Is there a way to do this? The code I''m working with has a lot of logic that hinges on each host''s date/time. So to test this to the degree I''d like - I need an automated way to change each hvms date/time and launch them. Thanks a lot! :) Toni _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Mon, 2012-12-31 at 15:20 +0000, skippy V wrote:> It would be convenient if I could set the date/time of each hvm when I > launch them with XL. > Is there a way to do this?You can add an offset to the emulated RTC time using the rtc_timeoffset option, which is documented in the xl.cfg(5) man page. It''s not quite setting the date and time but if you know the current time you can come close. Most OSes initialise their wallclock time based on the RTC. You''d want to avoid any sort of network time sync though e.g. NTP or the Windows equivalent. (does Active Directory do time synchronisation?) since that might undo the offset. Ian.
Reasonably Related Threads
- How to use rtc_timeoffset (XL toolkit option) in Libvirt and Xen/libxl hypervisor?
- linux-image-5.10.0-6-amd64: VGA Intel IGD Passthrough to Debian Xen HVM DomUs not working, but Windows Xen HVMs do work
- linux-image-5.10.0-6-amd64: VGA Intel IGD Passthrough to Debian Xen HVM DomUs not working, but Windows Xen HVMs do work
- Desynchronize clock
- [PATCH] libxl: fix rtc_timeoffset setting