summaryrefslogtreecommitdiffstats
path: root/include/sysemu
diff options
context:
space:
mode:
authorPaolo Bonzini2019-07-01 17:38:54 +0200
committerPaolo Bonzini2019-10-04 18:49:19 +0200
commitede146c2e720b670350c7ef5e9af44e80a73fe97 (patch)
treeebedeebc9bc107a1529af3aeb3887073833f5fac /include/sysemu
parenttarget/i386: introduce generic feature dependency mechanism (diff)
downloadqemu-ede146c2e720b670350c7ef5e9af44e80a73fe97.tar.gz
qemu-ede146c2e720b670350c7ef5e9af44e80a73fe97.tar.xz
qemu-ede146c2e720b670350c7ef5e9af44e80a73fe97.zip
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 'include/sysemu')
-rw-r--r--include/sysemu/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h
index fd674772ab..9d143282bc 100644
--- a/include/sysemu/kvm.h
+++ b/include/sysemu/kvm.h
@@ -462,7 +462,7 @@ int kvm_vm_check_extension(KVMState *s, unsigned int extension);
uint32_t kvm_arch_get_supported_cpuid(KVMState *env, uint32_t function,
uint32_t index, int reg);
-uint32_t kvm_arch_get_supported_msr_feature(KVMState *s, uint32_t index);
+uint64_t kvm_arch_get_supported_msr_feature(KVMState *s, uint32_t index);
void kvm_set_sigmask_len(KVMState *s, unsigned int sigmask_len);