aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-01-31 08:57:37 -0500
committerAvi Kivity <avi@qumranet.com>2008-04-27 04:53:18 -0400
commitf2b4b7ddf633ffa24ce7c89c9e0d8a06463484e3 (patch)
treedb27a5a3cff2e60497ec60194a9f754372bf01e1 /include/asm-x86
parent0aac03f07b37da96e00371e66973d5ffaae578a4 (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')
-rw-r--r--include/asm-x86/kvm_host.h1
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,
430unsigned long realmode_get_cr(struct kvm_vcpu *vcpu, int cr); 430unsigned long realmode_get_cr(struct kvm_vcpu *vcpu, int cr);
431void realmode_set_cr(struct kvm_vcpu *vcpu, int cr, unsigned long value, 431void realmode_set_cr(struct kvm_vcpu *vcpu, int cr, unsigned long value,
432 unsigned long *rflags); 432 unsigned long *rflags);
433void kvm_enable_efer_bits(u64);
433int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data); 434int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data);
434int kvm_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data); 435int kvm_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data);
435 436