diff options
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_WHPX/2402.toml')
| -rw-r--r-- | gitlab/issues/target_missing/host_missing/accel_WHPX/2402.toml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_WHPX/2402.toml b/gitlab/issues/target_missing/host_missing/accel_WHPX/2402.toml new file mode 100644 index 000000000..ef5f5d81d --- /dev/null +++ b/gitlab/issues/target_missing/host_missing/accel_WHPX/2402.toml @@ -0,0 +1,32 @@ +id = 2402 +title = "WHPX accelerator run with edk2 EFI fails to process the reboot signal from guest OS" +state = "opened" +created_at = "2024-06-21T11:40:37.110Z" +closed_at = "n/a" +labels = ["accel: WHPX", "kind::Bug"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/2402" +host-os = "Windows 11 23H2" +host-arch = "x64" +qemu-version = "v9.0.0-12054-g923cf646f4" +guest-os = "Windows 11 23H2" +guest-arch = "x64" +description = """Qemu freezes any time WHPX-accelerated guest Windows 11 sends a reboot signal to Qemu while running on edk2 EFI. At rare cases, Qemu errors out with `qemu: WHPX: Unexpected VP exit code 4`""" +reproduce = """1. Grab Windows 11 23H2 ISO from https://www.microsoft.com/en-Us/software-download/windows11 using either Media Creation Tool or directly and save it under C:\\\\windows11_23H2.iso +2. Download QEMU 9.0 from https://qemu.weilnetz.de/w64/qemu-w64-setup-20240423.exe and install it into C:\\\\Program Files\\\\qemu +3. Make one merged EFI file from two ones bundled in QEMU 9.0 (merged EFI is the only working option for edk2 EFI on windows host): `cd /d C:\\Program Files\\qemu\\share` + +`copy /B edk2-i386-vars.fd + edk2-x86_64-code.fd edk2-x86_64.fd` + +4. Run this command: + +`qemu-system-x86_64.exe -accel whpx -bios share\\edk2-x86_64.fd -cpu Westmere,aes=on,avx=on,sse4.1=on,sse4.2=on,ssse3=on,x2apic=on,xsave=on -machine q35 -m 4096 -cdrom C:\\windows11_23H2.iso` + +5. Press any key once you see "Press any key to boot from CD..." and wait until Windows Setup suggests to opt for language and currency. +6. Click red "X" close button inside Windows Setup and confirm your choice when Windows Setup asks you to. + +Windows Setup sends a reboot signal to the underlying hardware and Qemu freezes.""" +additional = """If `-bios share\\edk2-x86_64.fd` switch is omitted, this command works ok: + +`qemu-system-x86_64 -accel whpx -cpu Westmere,aes=on,avx=on,sse4.1=on,sse4.2=on,ssse3=on,x2apic=on,xsave=on -machine q35 -m 4096 -cdrom D:\\originalWindows11_23H2.iso` + +This bug seems to be closely related to this one: https://gitlab.com/qemu-project/qemu/-/issues/2042 - Not able to reboot Linux guest on Windows host""" |