|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [Patch] [kinda-resend] persistent real-time-clock |
Date: | Sun, 27 Apr 2008 11:58:17 -0500 |
User-agent: | Thunderbird 2.0.0.12 (X11/20080227) |
Dan Kenigsberg wrote:
Real PC lets its user set the real-time-clock and store it on CMOS, which advances the clock even when the PC is offline. 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. Please tell me what do you think of it.
I think a more general mechanism that stored nvram in a file would be interesting. Something like like -nvram file.ram. This also allows a guest to determine it's initial boot device and for that setting to persist.
Regards, Anthony Liguori
Dan.
[Prev in Thread] | Current Thread | [Next in Thread] |