fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP]
PATCH 1/1 fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP]
Quoted 4 lines · Brad Campbell, le Tue 12 Aug 2008 11:02:39 +0400, a écrit :
qemu -hda xptest.img -cdrom XP-corp-sp2.iso -boot d -m 256 -no-kqemu -no-reboot -no-acpi
It just hangs at "Setup is starting Windows".
The patch below fixes it for me.
Samuel
serial: Always update iir, even when ier is empty.
serial.c +0 -5
@@ -189,11 +189,6 @@ {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) {
Quoted 8 lines · Samuel Thibault
Quoted 4 lines · Brad Campbell, le Tue 12 Aug 2008 11:02:39 +0400, a écrit :
qemu -hda xptest.img -cdrom XP-corp-sp2.iso -boot d -m 256 -no-kqemu -no-reboot -no-acpi
It just hangs at "Setup is starting Windows".
The patch below fixes it for me.
Quoted 7 lines
Samuel
serial: Always update iir, even when ier is empty.
Signed-off-by Samuel Thibault <[email protected]>
Quoted 16 lines · Stefano Stabellini
Quoted 13 lines · Samuel Thibault
Quoted 5 lines · Brad Campbell, le Tue 12 Aug 2008 11:02:39 +0400, a écrit :
qemu -hda xptest.img -cdrom XP-corp-sp2.iso -boot d -m 256 -no-kqemu -no-reboot -no-acpi
It just hangs at "Setup is starting Windows".
The patch below fixes it for me.
Samuel
Quoted 10 lines
Quoted 4 lines
serial: Always update iir, even when ier is empty.
Signed-off-by Samuel Thibault <[email protected]>
I confirmed that the OS level polling mode drivers still work properly as well.
Jason.
Quoted 7 lines · Samuel Thibault
Quoted 4 lines · Brad Campbell, le Tue 12 Aug 2008 11:02:39 +0400, a écrit :
qemu -hda xptest.img -cdrom XP-corp-sp2.iso -boot d -m 256 -no-kqemu -no-reboot -no-acpi
It just hangs at "Setup is starting Windows".
The patch below fixes it for me.
Confirmed here. Thanks :)
Brad
Signature · 3 lines
Dolphins are so intelligent that within a few weeks they can train Americans to stand at the edge of the pool and throw them fish.
Anthony Liguori
AppliedQuoted 10 lines · Samuel Thibault
Quoted 5 lines · Brad Campbell, le Tue 12 Aug 2008 11:02:39 +0400, a écrit :
qemu -hda xptest.img -cdrom XP-corp-sp2.iso -boot d -m 256 -no-kqemu -no-reboot -no-acpi
It just hangs at "Setup is starting Windows".
The patch below fixes it for me.
Applied. Thanks for fixing this so quickly.
Regards,
Anthony Liguori
Quoted 2 lines
Samuel