From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mm2UD-00081J-0W for qemu-devel@nongnu.org; Fri, 11 Sep 2009 05:32:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mm2U8-0007xf-9B for qemu-devel@nongnu.org; Fri, 11 Sep 2009 05:32:08 -0400 Received: from [199.232.76.173] (port=58298 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mm2U8-0007xO-16 for qemu-devel@nongnu.org; Fri, 11 Sep 2009 05:32:04 -0400 Received: from goliath.siemens.de ([192.35.17.28]:16522) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mm2U7-0003HK-E1 for qemu-devel@nongnu.org; Fri, 11 Sep 2009 05:32:03 -0400 Message-ID: <4AAA1920.4050903@siemens.com> Date: Fri, 11 Sep 2009 11:32:16 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1252507547-11398-1-git-send-email-kraxel@redhat.com> <1252507547-11398-13-git-send-email-kraxel@redhat.com> <4AA80544.3000308@redhat.com> <4AAA185F.4020104@siemens.com> In-Reply-To: <4AAA185F.4020104@siemens.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 12/12] qdev/isa: convert real time clock List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Anthony Liguori , qemu-devel@nongnu.org Jan Kiszka wrote: > Gerd Hoffmann wrote: >>> --- a/hw/mc146818rtc.c >>> +++ b/hw/mc146818rtc.c >>> @@ -63,10 +63,11 @@ >>> #define REG_C_AF 0x20 >>> >>> struct RTCState { >>> + ISADevice dev; >>> uint8_t cmos_data[128]; >>> uint8_t cmos_index; >>> struct tm current_tm; >>> - int base_year; >>> + uint32_t base_year; >> Self-NACK. This sign change breaks some math and makes my VMs >> time-travel to 2005 ... >> > > I thought you retracted this patch, but now I find it in master. Is > there fix in the queue? > > To err is human, and the more patches are committed, the more errors can > happen. Still, my impression is that the current rate could be lower. > Gerd, maybe you should have CC'ed Anthony for the NACK. > Err, sorry, wrong alarm, v2 got merged. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux