diff options
author | Christian Limpach <Christian.Limpach@xensource.com> | 2007-04-03 13:22:37 +0100 |
---|---|---|
committer | Christian Limpach <Christian.Limpach@xensource.com> | 2007-04-03 13:22:37 +0100 |
commit | 2bdbd3e1939805676f7b025a58d23cea942fe042 (patch) | |
tree | 4f4b89a44dcfb432dc4313f6fe1692f51ad50822 /tools/examples/xmexample.hvm | |
parent | 9423a78d7fb9a3f9cab740a88e6ec74b6275e76b (diff) | |
download | xen-2bdbd3e1939805676f7b025a58d23cea942fe042.tar.gz xen-2bdbd3e1939805676f7b025a58d23cea942fe042.tar.bz2 xen-2bdbd3e1939805676f7b025a58d23cea942fe042.zip |
[hvm] Keep track of time offset between domain time and dom0 time.
On each rtc time update from the hvm domain, we send an ioreq request
to qemu which then updates the time offset xenstore entry. The time
offset is preserved across reboot and can be set on domain creation
by setting the rtc_timeoffset variable in a config file.
From: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Diffstat (limited to 'tools/examples/xmexample.hvm')
-rw-r--r-- | tools/examples/xmexample.hvm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm index 33ce3203d3..06662a0d17 100644 --- a/tools/examples/xmexample.hvm +++ b/tools/examples/xmexample.hvm @@ -180,6 +180,10 @@ serial='pty' #----------------------------------------------------------------------------- +# set the real time clock offset in seconds [default=0 i.e. same as dom0] +#rtc_timeoffset=3600 + +#----------------------------------------------------------------------------- # start in full screen #full-screen=1 |