From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nle8X-0004gE-CN for qemu-devel@nongnu.org; Sun, 28 Feb 2010 03:04:25 -0500 Received: from [199.232.76.173] (port=46200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nle8T-0004ff-Hr for qemu-devel@nongnu.org; Sun, 28 Feb 2010 03:04:22 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nle8S-0001of-Hs for qemu-devel@nongnu.org; Sun, 28 Feb 2010 03:04:20 -0500 Received: from mail-px0-f203.google.com ([209.85.216.203]:46432) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nle8S-0001oJ-9Q for qemu-devel@nongnu.org; Sun, 28 Feb 2010 03:04:20 -0500 Received: by pxi41 with SMTP id 41so499767pxi.23 for ; Sun, 28 Feb 2010 00:04:18 -0800 (PST) MIME-Version: 1.0 From: Roy Tam Date: Sun, 28 Feb 2010 16:03:58 +0800 Message-ID: <473191351002280003y34b9f473m27db1fea2cec1bb8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] [PATCH] Serial: DOS Plus regression List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Digital Research DOSPlus. Following patch partially reverts that commit and makes DOSPlus booting in QEMU again. Sign-off-by: Roy Tam -- diff --git a/hw/serial.c b/hw/serial.c index df67383..cf23aad 100644 --- a/hw/serial.c +++ b/hw/serial.c @@ -401,10 +401,6 @@ static void serial_ioport_write(void *opaque, uint32_t addr, uint32_t val) s->poll_msl = 0; } } - if (s->lsr & UART_LSR_THRE) { - s->thr_ipending = 1; - serial_update_irq(s); - } } break; case 2: