[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: |
Dan Kenigsberg |
Subject: |
Re: [Qemu-devel] [Patch] [kinda-resend] persistent real-time-clock |
Date: |
Mon, 28 Apr 2008 11:00:48 +0300 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Sun, Apr 27, 2008 at 11:58:17AM -0500, Anthony Liguori wrote:
> 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.
>
Sounds not dissimilar to migration-to-file of all cmos bits and pieces
of all supported architectures, doesn't it? I hope this general
mechanism does not block, in your opnion, the suggested specific solution.
Dan.