Received: from eggs.gnu.org ([208.118.235.92]:51630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjcgU-00032u-OG for qemu-devel@nongnu.org; Fri, 14 Dec 2012 16:20:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjcgQ-0003va-QB for qemu-devel@nongnu.org; Fri, 14 Dec 2012 16:20:42 -0500 Received: from indium.canonical.com ([91.189.90.7]:49334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjcgQ-0003vW-Kd for qemu-devel@nongnu.org; Fri, 14 Dec 2012 16:20:38 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TjcgP-0000gt-Ij for ; Fri, 14 Dec 2012 21:20:37 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 7BC222E807C for ; Fri, 14 Dec 2012 21:20:37 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 14 Dec 2012 21:13:36 -0000 From: Antoine Mathys Sender: bounces@canonical.com References: <20121214211336.24001.29552.malonedeb@soybean.canonical.com> Message-Id: <20121214211336.24001.29552.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1090558] [NEW] 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 Public bug reported: 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 d= one in convert_hour()). Seen in commit e376a788ae130454ad5e797f60cb70d0308babb6. ** Affects: qemu Importance: Undecided Status: New -- = 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: New 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