diff options
author | Luwei Kang <luwei.kang@intel.com> | 2020-06-30 14:38:33 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-10 18:02:24 -0400 |
commit | cbe0dad1906d29d9ea83169b672e9e709c9fc1f8 (patch) | |
tree | be682799a72bd3a5afdf955a358558c11096dc5c /target/i386 | |
parent | 143a768c57b8d77b348f727c55f073eb40360955 (diff) | |
download | qemu-cbe0dad1906d29d9ea83169b672e9e709c9fc1f8.zip qemu-cbe0dad1906d29d9ea83169b672e9e709c9fc1f8.tar.gz qemu-cbe0dad1906d29d9ea83169b672e9e709c9fc1f8.tar.bz2 |
target/i386: Correct the warning message of Intel PT
The CPUID level need to be set to 0x14 manually on old
machine-type if Intel PT is enabled in guest. E.g. the
CPUID[0].EAX(level)=7 and CPUID[7].EBX[25](intel-pt)=1 when the
Qemu with "-machine pc-i440fx-3.1 -cpu qemu64,+intel-pt" parameter.
This patch corrects the warning message of the previous
submission(ddc2fc9).
Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Message-Id: <1593499113-4768-1-git-send-email-luwei.kang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r-- | target/i386/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 105eb47..1dde34d 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -6398,7 +6398,7 @@ static void x86_cpu_expand_features(X86CPU *cpu, Error **errp) } else if (cpu->env.cpuid_min_level < 0x14) { mark_unavailable_features(cpu, FEAT_7_0_EBX, CPUID_7_0_EBX_INTEL_PT, - "Intel PT need CPUID leaf 0x14, please set by \"-cpu ...,+intel-pt,level=0x14\""); + "Intel PT need CPUID leaf 0x14, please set by \"-cpu ...,+intel-pt,min-level=0x14\""); } } |