diff options
Diffstat (limited to 'gitlab/issues/target_i386/host_missing/accel_WHPX/1137.toml')
| -rw-r--r-- | gitlab/issues/target_i386/host_missing/accel_WHPX/1137.toml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gitlab/issues/target_i386/host_missing/accel_WHPX/1137.toml b/gitlab/issues/target_i386/host_missing/accel_WHPX/1137.toml new file mode 100644 index 00000000..c58be8d4 --- /dev/null +++ b/gitlab/issues/target_i386/host_missing/accel_WHPX/1137.toml @@ -0,0 +1,43 @@ +id = 1137 +title = "When using qemu-system-x86_64 whpx acceleration, cpu information is set strangely." +state = "opened" +created_at = "2022-08-02T03:33:08.092Z" +closed_at = "n/a" +labels = ["accel: WHPX", "target: i386"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1137" +host-os = "Windows 11" +host-arch = "x86_64" +qemu-version = "7.0.0" +guest-os = "Windows 10 or Windows 11 or Linux.. etc" +guest-arch = "x86_64" +description = """When using the guest with whpx acceleration in qemu-system-x86_64, the CPU information of the guest seems to be set strangely. + +When the guest is Linux, it seems that individual CPUs are allocated as many as the number of cores when using the -accel whpx option and the -smp option. +* -smp 4, -smp cores=4, -smp sockes=1, cores=4, threads=1 are all set to have 4 single-core CPUs plugged in + +If the guest is Windows, check the information with CPU-Z + It is recognized as a Pentium 4 and is displayed as a CPU with 1 core and n threads. + +Physically, it seems to be set to have n individual CPUs with 1 core plugged in. +In Windows 11 Home (which seems to be the case for all versions of Windows Home), you cannot give the -smp value more than 5. +* When booting with the -smp option value of 5 or more, a BSOD saying multiprocessor configuration not supported appears. -smp n, -smp cores=n, -smp sockes=1,cores=n,threads=1 All same symptoms occur""" +reproduce = """1. Boot Windows or Linux with -accel whpx -smp 4 option (or with the -accel whpx -smp sockets=1,cores=4,threads=1 option to make it deterministic) +2. For Linux guest, use cat /proc/cpuinfo to check cpu information, for Windows guest, use cpu-z, device manager, task manager, etc. to check cpu information +3. In the information of the Linux guest, it is displayed as fixed as core id : 0, cpu cores : 1, + In Windows guest, information is displayed as written in "Description of problem" respectively.""" +additional = """**Windows 11 Home Guest set to 4 cores :** + +qemu-system-x86_64 -M q35 -smp sockets=1,cores=4,threads=1 -m 8g -device qxl-vga,vgamem_mb=256 -display sdl -drive file="Windows 11.vmdk",id=disk,if=none -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0 -rtc base=localtime -usbdevice tablet -accel whpx + + + +**Windows 11 Home Guest set to 5 cores :** + +qemu-system-x86_64 -M q35 -smp sockets=1,cores=5,threads=1 -m 8g -device qxl-vga,vgamem_mb=256 -display sdl -drive file="Windows 11.vmdk",id=disk,if=none -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0 -rtc base=localtime -usbdevice tablet -accel whpx + + + +**Linux (Debian 11) guest set to 4 cores :** + +qemu-system-x86_64 -M q35 -smp sockets=1,cores=4,threads=1 -m 4g -device qxl-vga,vgamem_mb=256 -display sdl -drive file="debian.vdi",id=disk,if=none -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0 -rtc base=localtime -usbdevice tablet -accel whpx +""" |