From patchwork Sun Feb 28 08:03:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Serial: DOS Plus regression From: Roy Tam X-Patchwork-Id: 46484 Message-Id: <473191351002280003y34b9f473m27db1fea2cec1bb8@mail.gmail.com> To: qemu-devel Date: Sun, 28 Feb 2010 16:03:58 +0800 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 --- case 2: 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;