From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoWpI-0007Mq-V7 for qemu-devel@nongnu.org; Sat, 11 Oct 2008 01:15:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoWpH-0007Le-Tt for qemu-devel@nongnu.org; Sat, 11 Oct 2008 01:15:40 -0400 Received: from [199.232.76.173] (port=53569 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoWpH-0007LR-OB for qemu-devel@nongnu.org; Sat, 11 Oct 2008 01:15:39 -0400 Received: from ti-out-0910.google.com ([209.85.142.191]:43064) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KoWpH-0005YY-JL for qemu-devel@nongnu.org; Sat, 11 Oct 2008 01:15:39 -0400 Received: by ti-out-0910.google.com with SMTP id y6so430912tia.18 for ; Fri, 10 Oct 2008 22:15:37 -0700 (PDT) Message-ID: Date: Sat, 11 Oct 2008 12:15:37 +0700 From: "Mulyadi Santosa" Subject: Re: [Qemu-devel] i8254 - Cannot change Timer frequency In-Reply-To: <1223657696.48ef88e0224fa@imp.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1223657696.48ef88e0224fa@imp.free.fr> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi Adrien... On Fri, Oct 10, 2008 at 11:54 PM, adrien lebre wrote: > Re: i8254 - Cannot change Timer frequency > by alebre on Wed Sep 17, 2008 4:37 pm > > What is the behavior of QEMU with regard to such instructions ? > Does QEMU emulate the I8254 chip or does it simply forward the instruction to > the host OS ? In that case, the host OS could simply does not consider such an > instruction ? I can not really answer about the i8524 emulation behaviour, but all I know is that Qemu will turn it into setitimer() or RTC reprogramming (via /dev/rtc). So the chance is, the granularity could be not as fine as you expect. Especially if you end up using OS supplied timer, the granularity will be 1/HZ. Not an expert...just want to share my thoughts. regards, Mulyadi.