Received: from eggs.gnu.org ([208.118.235.92]:54715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TthhN-0003fE-1B for qemu-devel@nongnu.org; Fri, 11 Jan 2013 11:43:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TthhA-0003AZ-Jy for qemu-devel@nongnu.org; Fri, 11 Jan 2013 11:43:16 -0500 Received: from indium.canonical.com ([91.189.90.7]:56280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TthhA-0003AC-75 for qemu-devel@nongnu.org; Fri, 11 Jan 2013 11:43:04 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Tthh7-0001oG-Vf for ; Fri, 11 Jan 2013 16:43:02 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 6B3FB2E83BD for ; Fri, 11 Jan 2013 16:35:33 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 11 Jan 2013 16:28:43 -0000 From: Paolo Bonzini Sender: bounces@canonical.com References: <20121214211336.24001.29552.malonedeb@soybean.canonical.com> Message-Id: <20130111162843.8005.57878.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1090558] Re: hw/mc146818: error reading RTC_HOURS_ALARM Reply-To: Bug 1090558 <1090558@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The problem is obviously there, but I tried pretty hard to make it fail and couldn't so it seems latent. If you can, please provide a patch to tests/rtc-test.c that shows the bug. ** Changed in: qemu Status: New =3D> Incomplete -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1090558 Title: hw/mc146818: error reading RTC_HOURS_ALARM Status in QEMU: Incomplete Bug description: get_next_alarm() doesn't read the RTC_HOURS_ALARM field correctly. - Bit 7 must be masked before conversion from BCD. - Care must be taken to check the don't care condition before masking. - The PM bit must be read from RTC_HOURS_ALARM, not from RTC_HOURS (as is= done in convert_hour()). Seen in commit e376a788ae130454ad5e797f60cb70d0308babb6. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1090558/+subscriptions