Skip to content

Commit fb68299

Browse files
authored
Merge pull request #3764 from leidwang/bz2218864
nmi_bsod_catch: fix a bug on win10.i386
2 parents 345860b + 1f911e5 commit fb68299

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

qemu/tests/cfg/nmi_bsod_catch.cfg

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,19 @@
1414
config_cmd3 = reg add HKLM\System\CurrentControlSet\Control\CrashControl /v DumpFile /d C:\Memory.dmp /t REG_EXPAND_SZ /f
1515
# enable nmi dump
1616
config_cmd4 = reg add HKLM\System\CurrentControlSet\Control\CrashControl /v NMICrashDump /d 1 /t REG_DWORD /f
17-
config_cmd5 = reg add HKLM\System\CurrentControlSet\Control\CrashControl /v AlwaysKeepMemoryDump /d 1 /t REG_DWORD /f
17+
config_cmd5 = reg add HKLM\System\CurrentControlSet\Control\CrashControl /v AlwaysKeepMemoryDump /d 1 /t REG_DWORD /f
1818
# disable windows error reporting, it may block our test
1919
config_cmd6 = reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting" /v Disabled /d 1 /t REG_DWORD /f
2020
manual_reboot_cmd =
2121
reboot_after_config = yes
2222
i386:
2323
windbg_path = "x86\windbg.exe"
2424
devcon_dirname += "x86"
25+
chk_windbg_cmd = 'dir "C:\Program Files\Windows Kits\10\Debuggers\%s"'
2526
x86_64:
2627
windbg_path = "x64\windbg.exe"
2728
devcon_dirname += "amd64"
28-
chk_windbg_cmd = 'dir "C:\Program Files (x86)\Windows Kits\10\Debuggers\%s"'
29+
chk_windbg_cmd = 'dir "C:\Program Files (x86)\Windows Kits\10\Debuggers\%s"'
2930
devcon_path = "WIN_UTILS:\devcon\${devcon_dirname}\devcon.exe"
3031
feature = "OptionId.WindowsDesktopDebuggers"
3132
sdk_setup = winsdksetup.exe
@@ -46,7 +47,7 @@
4647
dump_path = C:\Memory.dmp
4748
save_path_cmd = "echo ${dump_path} > C:\dump_path.txt"
4849
chk_dump_cmd = "WIN_UTILS:\AutoIt3\AutoIt3_%PROCESSOR_ARCHITECTURE%.exe WIN_UTILS:\check_dump_windbg.au3"
49-
check_dump_cmd = dir C:\Memory.dmp
50+
check_dump_cmd = dir C:\Memory.dmp
5051
del_dump_cmd = del C:\Memory.dmp
5152
nmi_cmd = inject-nmi
5253
virtio_blk:

0 commit comments

Comments
 (0)