aboutsummaryrefslogtreecommitdiff
path: root/target/i386/cpu.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-07-01 17:38:54 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-10-04 18:49:19 +0200
commitede146c2e720b670350c7ef5e9af44e80a73fe97 (patch)
treeebedeebc9bc107a1529af3aeb3887073833f5fac /target/i386/cpu.h
parent99e24dbdaa682c7b9d0bb5b463638c585bcee1c3 (diff)
downloadqemu-ede146c2e720b670350c7ef5e9af44e80a73fe97.zip
qemu-ede146c2e720b670350c7ef5e9af44e80a73fe97.tar.gz
qemu-ede146c2e720b670350c7ef5e9af44e80a73fe97.tar.bz2
target/i386: expand feature words to 64 bits
VMX requires 64-bit feature words for the IA32_VMX_EPT_VPID_CAP and IA32_VMX_BASIC MSRs. (The VMX control MSRs are 64-bit wide but actually have only 32 bits of information). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/cpu.h')
-rw-r--r--target/i386/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index 98f6ed5..312d70f 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -502,7 +502,7 @@ typedef enum FeatureWord {
FEATURE_WORDS,
} FeatureWord;
-typedef uint32_t FeatureWordArray[FEATURE_WORDS];
+typedef uint64_t FeatureWordArray[FEATURE_WORDS];
/* cpuid_features bits */
#define CPUID_FP87 (1U << 0)