qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Patch] [kinda-resend] persistent real-time-clock


From: Avi Kivity
Subject: Re: [Qemu-devel] [Patch] [kinda-resend] persistent real-time-clock
Date: Sun, 27 Apr 2008 19:39:42 +0300
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

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.

How about (additionally) modifying -startdate to accept an offset directly?

  qemu -startdate +0300 ...

Useful for those Windows VMs which have localtime in cmos.

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]