[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Patch] [kinda-resend] persistent real-time-clock
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] [Patch] [kinda-resend] persistent real-time-clock |
Date: |
Sun, 27 Apr 2008 22:28:03 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Dan Kenigsberg wrote:
> These patches will allow doing the same with VM:
> - Before shutting a VM down, use the monitor's info timeoffset to see
> how much (in seconds) does the rtc differ from the host clock.
> - Store this offset somewhere.
> - Use it next time with -startdate now+offset.
Another useful one would be store the actual time, and use the same
time when starting next time - without including any advance in host's
clock in the interval.
That's useful when running some time-limited software in a VM. Then
you can only run the VM when you're using the software, and get more
use out of it before the time runs out.
-- Jamie