]> xenbits.xensource.com Git - pvdrivers/win/xeniface.git/commit
Set VM's time based on host's time exposed by Xen
authorOwen Smith <owen.smith@citrix.com>
Wed, 29 Jun 2016 15:24:40 +0000 (16:24 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 7 Jul 2016 10:37:53 +0000 (11:37 +0100)
commit3b8723b1855ceba7bc2687a5c60d57ccc337550f
tree673be31245407feccf65cbda41151771f9d536bb
parentd7e7a1a79361773b42f876ce5abf4baa8b841198
Set VM's time based on host's time exposed by Xen

Sets the VM's time when XenIface starts and on resume from suspend.
Uses the underlying host's time, accessed via Xen. Provide an option
for the guest to treat Xen's time as UTC or the current timezone.
This option adds 2 new brandable variables that specify a partial
registry path and value in the VM that determines how the time offset
is modified. These values are REG_TOOLS_PATH and REG_UTC_NAME which
should be specified in the build environment if the values need to
be different.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Changed REG_TOOLS_PATH to REG_KEY_NAME, which now defaults to 'Windows
PV Drivers' (that being the official XenProject sub-project name), and
use hard coded 'HostTime' key name instead of brandable REG_UTC_NAME.
If we have a brandable parent registry key, then we don't really need
to brand the value names under it.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
build.py
src/xenagent/service.cpp
src/xenagent/service.h