diff options
author | Robert Hoo <robert.hu@linux.intel.com> | 2018-12-19 21:44:40 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-05 16:50:17 +0100 |
commit | 76e5a4d58357b9d077afccf7f7c82e17f733b722 (patch) | |
tree | 125da8df9410a8a5d26182f58004531550d56cb5 /target/i386 | |
parent | fda672b50e3e5613d0110e0e7c1f773bfaa1fb3d (diff) | |
download | qemu-76e5a4d58357b9d077afccf7f7c82e17f733b722.zip qemu-76e5a4d58357b9d077afccf7f7c82e17f733b722.tar.gz qemu-76e5a4d58357b9d077afccf7f7c82e17f733b722.tar.bz2 |
i386: remove the new CPUID 'PCONFIG' from Icelake-Server CPU model
PCONFIG is not available to guests; it must be specifically enabled
using the PCONFIG_ENABLE execution control. Disable it, because
no one can ever use it.
Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Message-Id: <1545227081-213696-2-git-send-email-robert.hu@linux.intel.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r-- | target/i386/cpu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 7483dae..4d21ae4 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -2650,8 +2650,7 @@ static X86CPUDefinition builtin_x86_defs[] = { CPUID_7_0_ECX_AVX512VNNI | CPUID_7_0_ECX_AVX512BITALG | CPUID_7_0_ECX_AVX512_VPOPCNTDQ | CPUID_7_0_ECX_LA57, .features[FEAT_7_0_EDX] = - CPUID_7_0_EDX_PCONFIG | CPUID_7_0_EDX_SPEC_CTRL | - CPUID_7_0_EDX_SPEC_CTRL_SSBD, + CPUID_7_0_EDX_SPEC_CTRL | CPUID_7_0_EDX_SPEC_CTRL_SSBD, /* Missing: XSAVES (not supported by some Linux versions, * including v4.1 to v4.12). * KVM doesn't yet expose any XSAVES state save component, |