From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IKdKE-0003FR-Pc for qemu-devel@nongnu.org; Mon, 13 Aug 2007 13:03:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IKdKB-0003CE-8k for qemu-devel@nongnu.org; Mon, 13 Aug 2007 13:03:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKdKB-0003CB-2e for qemu-devel@nongnu.org; Mon, 13 Aug 2007 13:03:27 -0400 Received: from wa-out-1112.google.com ([209.85.146.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IKdKA-0003xn-Ga for qemu-devel@nongnu.org; Mon, 13 Aug 2007 13:03:26 -0400 Received: by wa-out-1112.google.com with SMTP id k22so2016314waf for ; Mon, 13 Aug 2007 10:03:25 -0700 (PDT) Message-ID: <68676e00708131003l51e6f0b4vad317367f4f935f7@mail.gmail.com> Date: Mon, 13 Aug 2007 19:03:21 +0200 From: Luca In-Reply-To: <20070813115030.GB14348@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <11867779422209-git-send-email-kronos.it@gmail.com> <46C0109E.3090800@qumranet.com> <20070813115030.GB14348@redhat.com> Subject: [Qemu-devel] Re: [kvm-devel] [PATCH] Add support for HPET periodic timer. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org On 8/13/07, Daniel P. Berrange 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