aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-12 13:22:50 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-12 13:22:50 +0000
commit53e656001ac6a4a53db4aacb040d12d9fef72bc6 (patch)
tree5ef3d3fb7142d7fdb9af91b4cecb87a0a960266e
parent41a2b9596c9ed2a827e16e749632752dd2686647 (diff)
serial: Always update iir, even when ier is empty (Samuel Thibault)
This fixes installation of Windows XP. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4995 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/serial.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/serial.c b/hw/serial.c
index 4f20f4c682..d70207e833 100644
--- a/hw/serial.c
+++ b/hw/serial.c
@@ -189,11 +189,6 @@ static void serial_update_irq(SerialState *s)
{
uint8_t tmp_iir = UART_IIR_NO_INT;
- if (!s->ier) {
- qemu_irq_lower(s->irq);
- return;
- }
-
if ((s->ier & UART_IER_RLSI) && (s->lsr & UART_LSR_INT_ANY)) {
tmp_iir = UART_IIR_RLSI;
} else if (s->timeout_ipending) {