On 8/13/07, Daniel P. Berrange <[EMAIL PROTECTED]> wrote: > On Mon, Aug 13, 2007 at 11:04:46AM +0300, Avi Kivity wrote: > > Luca Tettamanti wrote: > > Something like: > > > > - try to use HPET (unless -no-rtc selected) > > - try to use RTC (unless -no-rtc selected) > > - fallback to normal unix facilities > > If we're going to add command line args it probably makes sense to be a > little more generic than -no-rtc or -use-hpet. Have a list of preferred > clock sources eg > > -clock hpet,rtc,unix > > If -clock is omitted, then default to trying all in the priority you > describe.
Makes sense, I'll prepare a patch (maybe after a couple of days of vacation :P). Luca