From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3RMp-0003qw-Dz for qemu-devel@nongnu.org; Fri, 02 Mar 2012 07:13:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3RMn-0003sa-Ll for qemu-devel@nongnu.org; Fri, 02 Mar 2012 07:13:46 -0500 Received: from mail-ee0-f45.google.com ([74.125.83.45]:45301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3RMn-0003rY-DC for qemu-devel@nongnu.org; Fri, 02 Mar 2012 07:13:45 -0500 Received: by eeit10 with SMTP id t10so727028eei.4 for ; Fri, 02 Mar 2012 04:13:43 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4F50B975.7060202@redhat.com> Date: Fri, 02 Mar 2012 13:13:41 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 5/7] RTC:Add RTC update-ended interrupt support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Zhang, Yang Z" Cc: "aliguori@us.ibm.com" , Marcelo Tosatti , Jan Kiszka , "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" Il 02/03/2012 08:00, Zhang, Yang Z ha scritto: > Use a timer to emulate update cycle. When update cycle ended and UIE is setting, > then raise an interrupt. The timer runs only when UF or AF is cleared. Isn't AF=0 the common case when the RTC starts, so the timer always runs until the time crosses midnight? Paolo