diff options
Diffstat (limited to 'results/classifier/016/KVM/55961334')
| -rw-r--r-- | results/classifier/016/KVM/55961334 | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/results/classifier/016/KVM/55961334 b/results/classifier/016/KVM/55961334 new file mode 100644 index 000000000..ede09a180 --- /dev/null +++ b/results/classifier/016/KVM/55961334 @@ -0,0 +1,66 @@ +KVM: 0.924 +x86: 0.885 +debug: 0.797 +virtual: 0.715 +operating system: 0.649 +hypervisor: 0.394 +TCG: 0.049 +register: 0.039 +network: 0.028 +kernel: 0.021 +PID: 0.016 +performance: 0.016 +user-level: 0.014 +files: 0.011 +architecture: 0.009 +socket: 0.007 +ppc: 0.004 +assembly: 0.004 +semantic: 0.003 +alpha: 0.003 +device: 0.003 +VMM: 0.003 +risc-v: 0.002 +vnc: 0.002 +boot: 0.001 +permissions: 0.001 +peripherals: 0.001 +graphic: 0.000 +arm: 0.000 +mistranslation: 0.000 +i386: 0.000 + +[Bug] "-ht" flag ignored under KVM - guest still reports HT + +Hi Community, +We have observed that the 'ht' feature bit cannot be disabled when QEMU runs +with KVM acceleration. +qemu-system-x86_64 \ + --enable-kvm \ + -machine q35 \ + -cpu host,-ht \ + -smp 4 \ + -m 4G \ + -drive file=rootfs.img,format=raw \ + -nographic \ + -append 'console=ttyS0 root=/dev/sda rw' +Because '-ht' is specified, the guest should expose no HT capability +(cpuid.1.edx[28] = 0), and /proc/cpuinfo shouldn't show HT feature, but we still +saw ht in linux guest when run 'cat /proc/cpuinfo'. +XiaoYao mentioned that: + +It has been the behavior of QEMU since + + commit 400281af34e5ee6aa9f5496b53d8f82c6fef9319 + Author: Andre Przywara <andre.przywara@amd.com> + Date: Wed Aug 19 15:42:42 2009 +0200 + + set CPUID bits to present cores and threads topology + +that we cannot remove HT CPUID bit from guest via "-cpu xxx,-ht" if the +VM has >= 2 vcpus. +I'd like to know whether there's a plan to address this issue, or if the current +behaviour is considered acceptable. +Best regards, +Ewan. + |