Received: from [140.186.70.92] (port=39622 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJvRL-0005E1-63 for qemu-devel@nongnu.org; Wed, 02 Jun 2010 17:25:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJvRJ-0004xe-VG for qemu-devel@nongnu.org; Wed, 02 Jun 2010 17:25:31 -0400 Received: from adelie.canonical.com ([91.189.90.139]:39190) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJvRJ-0004xY-PI for qemu-devel@nongnu.org; Wed, 02 Jun 2010 17:25:29 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OJvRI-00073g-27 for ; Wed, 02 Jun 2010 22:25:28 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id C32802E8062 for ; Wed, 2 Jun 2010 22:25:27 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Jun 2010 21:18:03 -0000 From: Anthony Liguori Sender: bounces@canonical.com References: <20100602143725.32332.4482.malonedeb@potassium.ubuntu.com> Message-Id: <20100602211803.10953.52568.malone@potassium.ubuntu.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 588748] Re: QEMU fails to boot DR DOS Plus since 0.6.1 Reply-To: Bug 588748 <588748@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patch doesn't seem correct as the spec is pretty clear that THRE interrupt enable is set to high, then an interrupt is rased if LSR.THRE=3D1. Does the following also make DOSPlus boot again: diff --git a/hw/serial.c b/hw/serial.c index 9102edb..b0ac52f 100644 --- a/hw/serial.c +++ b/hw/serial.c @@ -401,7 +401,8 @@ static void serial_ioport_write(void *opaque, uint32_t = addr, s->poll_msl =3D 0; } } - if (s->lsr & UART_LSR_THRE) { + if (s->ier & UART_IER_THRI && + s->lsr & UART_LSR_THRE) { s->thr_ipending =3D 1; serial_update_irq(s); } ** Changed in: qemu Status: New =3D> In Progress -- = QEMU fails to boot DR DOS Plus since 0.6.1 https://bugs.launchpad.net/bugs/588748 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: In Progress Bug description: The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Dig= ital Research DOS Plus.