Gleb Natapov dd17765b5f reduce number of reinjects on ACK
Windows 7 BSODs under load with HAL_RTC_IRQF_WILL_NOT_CLEAR error.

It happens here:
hal!HalpRtcUnmaskClock:
8281b93a 8bff            mov     edi,edi
8281b93c 56              push    esi
8281b93d 33f6            xor     esi,esi
8281b93f 6a0c            push    0Ch
8281b941 e8b2ffffff      call    hal!CMOS_READ (8281b8f8)
8281b946 84c0            test    al,al
8281b948 7920            jns     hal!HalpRtcUnmaskClock+0x30 (8281b96a)
8281b94a 6a0a            push    0Ah
8281b94c 46              inc     esi
8281b94d e854c8ffff      call    hal!KeStallExecutionProcessor (828181a6)
8281b952 83fe64          cmp     esi,64h
8281b955 72e8            jb      hal!HalpRtcUnmaskClock+0x5 (8281b93f)
8281b957 6a00            push    0
8281b959 6a00            push    0
8281b95b 6a00            push    0
8281b95d 680a010000      push    10Ah
8281b962 6a5c            push    5Ch
8281b964 ff1500c38082    call    dword ptr [hal!_imp__KeBugCheckEx (8280c300)]
8281b96a 5e              pop     esi
8281b96b c3              ret

So it loops for 100(64h) times reading register C before BSOD. Lets
reduce number of immediate reinjection well under this limit.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-01-20 08:51:41 -06:00
2009-12-21 16:03:03 +01:00
2010-01-13 17:14:16 -06:00
2010-01-20 08:51:41 -06:00
2010-01-19 16:31:04 -06:00
2010-01-11 13:41:00 -06:00
2010-01-08 09:58:40 -06:00
2009-12-23 23:47:12 +01:00
…
2009-09-12 07:36:22 +00:00
2009-09-12 07:36:22 +00:00
…
…
2009-10-27 12:28:59 -05:00
2009-09-25 19:53:21 +00:00
…
2009-10-05 09:32:44 -05:00
…
2009-10-01 16:12:16 -05:00
…
…
…
…
2009-11-17 08:49:30 -06:00
2009-12-18 11:26:27 -06:00
2009-11-17 08:49:38 -06:00
2009-10-08 21:17:18 -05:00
2009-11-21 09:06:46 +00:00
…
2009-10-01 16:12:16 -05:00
…
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-20 06:56:26 +00:00
…
…
2009-10-05 09:32:44 -05:00
2009-11-14 01:19:12 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-05 17:36:00 +01:00
…
2009-09-12 07:36:22 +00:00
…
…
2009-12-17 18:12:04 +01:00
…
…
…
…
…
2010-01-13 17:14:14 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
…
2009-10-27 12:28:59 -05:00
2009-10-01 16:12:16 -05:00
…
2009-12-23 16:35:01 +02:00
2010-01-08 09:58:40 -06:00
2010-01-08 09:58:40 -06:00
2009-12-03 11:45:50 -06:00
…
2009-09-12 07:36:22 +00:00
…
2010-01-19 16:31:04 -06:00
…
…
2009-12-12 07:59:43 -06:00
2010-01-08 09:58:40 -06:00
2010-01-13 17:14:15 -06:00
2009-12-03 09:41:29 -06:00
2009-12-25 18:19:15 +00:00
…
…
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-12-18 11:26:27 -06:00
2009-12-12 07:59:46 -06:00
2009-10-27 12:28:59 -05:00
2010-01-19 16:31:04 -06:00
2009-12-18 11:26:27 -06:00
2009-12-21 20:19:12 +00:00
2010-01-13 17:14:15 -06:00
2009-10-01 16:12:16 -05:00
2009-10-05 09:32:45 -05:00
…
2009-12-12 07:59:39 -06:00
2009-11-17 08:49:38 -06:00
2009-11-17 08:49:38 -06:00
…
…
2009-12-03 09:41:20 -06:00
2009-12-03 09:41:18 -06:00
2009-12-03 09:41:20 -06:00
…
2010-01-08 16:55:03 -06:00
…
2009-10-01 16:12:16 -05:00
2009-11-14 01:19:12 +01:00
2009-09-13 19:38:43 +00:00
2009-10-01 16:12:16 -05:00
…
…
…
2009-10-01 16:12:16 -05:00
2010-01-19 16:31:04 -06:00
…
2009-10-01 16:12:16 -05:00
…
…
2010-01-20 08:25:23 -06:00
…

Read the documentation in qemu-doc.html.

Fabrice Bellard.
S
Description
A QEMU emulator for legacy Apple devices
Readme GPL-2.0
557 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.9%
C++ 6.4%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.7%