diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-01-31 08:57:37 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 04:53:18 -0400 |
commit | f2b4b7ddf633ffa24ce7c89c9e0d8a06463484e3 (patch) | |
tree | db27a5a3cff2e60497ec60194a9f754372bf01e1 /include/asm-x86/kvm_host.h | |
parent | 0aac03f07b37da96e00371e66973d5ffaae578a4 (diff) |
KVM: make EFER_RESERVED_BITS configurable for architecture code
This patch give the SVM and VMX implementations the ability to add some bits
the guest can set in its EFER register.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86/kvm_host.h')
-rw-r--r-- | include/asm-x86/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index 28e8177ea4a0..274f153c8704 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h | |||
@@ -430,6 +430,7 @@ void realmode_lmsw(struct kvm_vcpu *vcpu, unsigned long msw, | |||
430 | unsigned long realmode_get_cr(struct kvm_vcpu *vcpu, int cr); | 430 | unsigned long realmode_get_cr(struct kvm_vcpu *vcpu, int cr); |
431 | void realmode_set_cr(struct kvm_vcpu *vcpu, int cr, unsigned long value, | 431 | void realmode_set_cr(struct kvm_vcpu *vcpu, int cr, unsigned long value, |
432 | unsigned long *rflags); | 432 | unsigned long *rflags); |
433 | void kvm_enable_efer_bits(u64); | ||
433 | int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data); | 434 | int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data); |
434 | int kvm_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data); | 435 | int kvm_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data); |
435 | 436 | ||