Commit 53e656001ac6a4a53db4aacb040d12d9fef72bc6
1 parent
41a2b959
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
Showing
1 changed file
with
0 additions
and
5 deletions
hw/serial.c
... | ... | @@ -189,11 +189,6 @@ static void serial_update_irq(SerialState *s) |
189 | 189 | { |
190 | 190 | uint8_t tmp_iir = UART_IIR_NO_INT; |
191 | 191 | |
192 | - if (!s->ier) { | |
193 | - qemu_irq_lower(s->irq); | |
194 | - return; | |
195 | - } | |
196 | - | |
197 | 192 | if ((s->ier & UART_IER_RLSI) && (s->lsr & UART_LSR_INT_ANY)) { |
198 | 193 | tmp_iir = UART_IIR_RLSI; |
199 | 194 | } else if (s->timeout_ipending) { | ... | ... |