aboutsummaryrefslogtreecommitdiff
path: root/scripts/rust/rustc_args.py
diff options
context:
space:
mode:
authorEwan Hai <ewanhai-oc@zhaoxin.com>2025-04-14 03:53:42 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2025-04-17 18:23:26 +0200
commit280712b78781c43511d6286d40f9a518a4de25ff (patch)
tree0d2ab5a5ea9b5b87a92ad0973bb981a2f7f3efdd /scripts/rust/rustc_args.py
parent08b462dd9970a88d7f0e7c61ca48502463b0b78d (diff)
downloadqemu-280712b78781c43511d6286d40f9a518a4de25ff.zip
qemu-280712b78781c43511d6286d40f9a518a4de25ff.tar.gz
qemu-280712b78781c43511d6286d40f9a518a4de25ff.tar.bz2
target/i386: Fix model number of Zhaoxin YongFeng vCPU template
The model number was mistakenly set to 0x0b (11) in commit ff04bc1ac4. The correct value is 0x5b. This mistake occurred because the extended model bits in cpuid[eax=0x1].eax were overlooked, and only the base model was used. Using the wrong model number can affect guest behavior. One known issue is that vPMU (which relies on the model number) may fail to operate correctly. This patch corrects the model field by introducing a new vCPU version. Fixes: ff04bc1ac4 ("target/i386: Introduce Zhaoxin Yongfeng CPU model") Signed-off-by: Ewan Hai <ewanhai-oc@zhaoxin.com> Link: https://lore.kernel.org/r/20250414075342.411626-1-ewanhai-oc@zhaoxin.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/rust/rustc_args.py')
0 files changed, 0 insertions, 0 deletions