summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_WHPX/2402
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:07 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:17 +0200
commit9260319e7411ff8281700a532caa436f40120ec4 (patch)
tree2f6bfe5f3458dd49d328d3a9eb508595450adec0 /gitlab/issues_text/target_missing/host_missing/accel_WHPX/2402
parent225caa38269323af1bfc2daadff5ec8bd930747f (diff)
downloadqemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.tar.gz
qemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.zip
gitlab scraper: download in toml and text format
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_WHPX/2402')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_WHPX/240224
1 files changed, 24 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_WHPX/2402 b/gitlab/issues_text/target_missing/host_missing/accel_WHPX/2402
new file mode 100644
index 000000000..98c7068c6
--- /dev/null
+++ b/gitlab/issues_text/target_missing/host_missing/accel_WHPX/2402
@@ -0,0 +1,24 @@
+WHPX accelerator run with edk2 EFI fails to process the reboot signal from guest OS
+Description of problem:
+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`
+Steps to 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 information:
+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