* [Qemu-devel] [PATCH] fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP]
@ 2008-08-12 11:11 Samuel Thibault
2008-08-12 11:34 ` Stefano Stabellini
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Samuel Thibault @ 2008-08-12 11:11 UTC (permalink / raw)
To: qemu-devel
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.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Index: hw/serial.c
===================================================================
--- hw/serial.c (révision 4994)
+++ hw/serial.c (copie de travail)
@@ -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) {
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP]
2008-08-12 11:11 [Qemu-devel] [PATCH] fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP] Samuel Thibault
@ 2008-08-12 11:34 ` Stefano Stabellini
2008-08-12 12:39 ` Jason Wessel
2008-08-12 11:35 ` Brad Campbell
2008-08-12 13:22 ` Anthony Liguori
2 siblings, 1 reply; 5+ messages in thread
From: Stefano Stabellini @ 2008-08-12 11:34 UTC (permalink / raw)
To: qemu-devel
Samuel Thibault wrote:
> 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.
>
> Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP]
2008-08-12 11:11 [Qemu-devel] [PATCH] fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP] Samuel Thibault
2008-08-12 11:34 ` Stefano Stabellini
@ 2008-08-12 11:35 ` Brad Campbell
2008-08-12 13:22 ` Anthony Liguori
2 siblings, 0 replies; 5+ messages in thread
From: Brad Campbell @ 2008-08-12 11:35 UTC (permalink / raw)
To: qemu-devel
Samuel Thibault wrote:
> 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
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP]
2008-08-12 11:34 ` Stefano Stabellini
@ 2008-08-12 12:39 ` Jason Wessel
0 siblings, 0 replies; 5+ messages in thread
From: Jason Wessel @ 2008-08-12 12:39 UTC (permalink / raw)
To: qemu-devel
Stefano Stabellini wrote:
> Samuel Thibault wrote:
>
>
>> 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.
>>
>> Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
>>
>
> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
>
>
>
>
I confirmed that the OS level polling mode drivers still work properly
as well.
Jason.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH] fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP]
2008-08-12 11:11 [Qemu-devel] [PATCH] fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP] Samuel Thibault
2008-08-12 11:34 ` Stefano Stabellini
2008-08-12 11:35 ` Brad Campbell
@ 2008-08-12 13:22 ` Anthony Liguori
2 siblings, 0 replies; 5+ messages in thread
From: Anthony Liguori @ 2008-08-12 13:22 UTC (permalink / raw)
To: qemu-devel; +Cc: Samuel Thibault
Samuel Thibault wrote:
> 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
> Samuel
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-12 13:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-12 11:11 [Qemu-devel] [PATCH] fix serial IIR read [Was: SVN Rev 4994 (now) Won't install Windows XP] Samuel Thibault
2008-08-12 11:34 ` Stefano Stabellini
2008-08-12 12:39 ` Jason Wessel
2008-08-12 11:35 ` Brad Campbell
2008-08-12 13:22 ` Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).