virtual: 0.917 permissions: 0.906 device: 0.895 network: 0.870 files: 0.865 graphic: 0.856 semantic: 0.851 boot: 0.850 peripherals: 0.845 performance: 0.839 x86: 0.831 arm: 0.818 KVM: 0.814 socket: 0.809 kernel: 0.809 debug: 0.808 user-level: 0.805 hypervisor: 0.801 PID: 0.796 risc-v: 0.777 VMM: 0.776 mistranslation: 0.774 assembly: 0.767 architecture: 0.761 register: 0.760 TCG: 0.748 ppc: 0.746 vnc: 0.737 i386: 0.695 There is a bug in versions 2025-02-10 and later that causes virtual machines to be created with incorrect SMP settings with warnings about TCG features when setting more than 2 cores with the smp option in the default TCG acceleration (see main text). Description of problem: When using qemu-system-x86_64 in versions 9.2.50 and later, if you create a virtual machine with 2 or more cores using the smp option, ``` qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:EDX.ht [bit 28] qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:ECX.cmp-legacy [bit 1] ``` The log will be displayed as many as the number of cores you have enabled, and the created virtual machine will be displayed as having a 1-core CPU with the number of cores you have enabled. * I have not tested whether the same symptom occurs on versions 9.2.50 and later for other environments (Linux and the WoA version released on March 26th). Steps to reproduce: 1. Create a virtual machine with more than two cores using TCG acceleration, which is the default acceleration, by using options such as 'qemu-system-x86_64 -smp 2' or 'qemu-system-x86_64 -smp sockets=1,cores=2,threads=1'. 2. 'qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:EDX.ht [bit 28]' and 'qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:ECX.cmp-legacy [bit 1]' The log is generated as many as the number of cores set and the virtual machine is created. 3. When checking the CPU information of the booted virtual machine, it does not show that there is one CPU with the specified number of cores, but rather that there is a single core CPU with the specified number of cores. Additional information: ``` >qemu-system-x86_64 -M q35 -smp 2 -m 4g -display sdl -usb -device usb-tablet -drive file=MasterOS.vdi,id=disk,if=none -drive file="C:\Program Files\qemu\share\edk2-x86_64-code.fd",id=efi,readonly=on,format=raw,if=pflash -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.1 -rtc base=localtime ``` ![스크린샷_2025-03-31_164120](/uploads/4ddc95e8f90532e9c22d4f7c5c181c1a/스크린샷_2025-03-31_164120.png) ``` >qemu-system-x86_64 -M q35 -smp 4 -m 4g -display sdl -usb -device usb-tablet -drive file=MasterOS.vdi,id=disk,if=none -drive file="C:\Program Files\qemu\share\edk2-x86_64-code.fd",id=efi,readonly=on,format=raw,if=pflash -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.1 -rtc base=localtime ``` ![스크린샷_2025-03-31_164917](/uploads/978d86c5f1b1d81230a0e96cd1bd10b9/스크린샷_2025-03-31_164917.png)