aboutsummaryrefslogtreecommitdiff
path: root/target/i386/cpu.c
diff options
context:
space:
mode:
authorGareth Webb <gareth.webb@umbralsoftware.co.uk>2022-02-06 22:36:09 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-16 15:01:33 +0100
commit637f1ee377eab718cb23808299ea2770e722da5c (patch)
tree7c4c7fe9083ed819ea20fc3f38fa9d772b1daf87 /target/i386/cpu.c
parentad38520bdeb2b1e0b487db317f29119e94c1c88d (diff)
downloadqemu-637f1ee377eab718cb23808299ea2770e722da5c.zip
qemu-637f1ee377eab718cb23808299ea2770e722da5c.tar.gz
qemu-637f1ee377eab718cb23808299ea2770e722da5c.tar.bz2
target/i386: add TCG support for UMIP
Signed-off-by: Gareth Webb <gareth.webb@umbralsoftware.co.uk> Message-Id: <164425598317.21902.4257759159329756142-1@git.sr.ht> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/cpu.c')
-rw-r--r--target/i386/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index aa9e636..20639c3 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -645,7 +645,7 @@ void x86_cpu_vendor_words2str(char *dst, uint32_t vendor1,
CPUID_7_0_EBX_HLE, CPUID_7_0_EBX_AVX2,
CPUID_7_0_EBX_INVPCID, CPUID_7_0_EBX_RTM,
CPUID_7_0_EBX_RDSEED */
-#define TCG_7_0_ECX_FEATURES (CPUID_7_0_ECX_PKU | \
+#define TCG_7_0_ECX_FEATURES (CPUID_7_0_ECX_UMIP | CPUID_7_0_ECX_PKU | \
/* CPUID_7_0_ECX_OSPKE is dynamic */ \
CPUID_7_0_ECX_LA57 | CPUID_7_0_ECX_PKS)
#define TCG_7_0_EDX_FEATURES 0