summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/kvm_host.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-01-31 14:57:37 +0100
committerAvi Kivity <avi@qumranet.com>2008-04-27 11:53:18 +0300
commitf2b4b7ddf633ffa24ce7c89c9e0d8a06463484e3 (patch)
treedb27a5a3cff2e60497ec60194a9f754372bf01e1 /include/asm-x86/kvm_host.h
parent0aac03f07b37da96e00371e66973d5ffaae578a4 (diff)
downloadkernel-crypto-f2b4b7ddf633ffa24ce7c89c9e0d8a06463484e3.tar.gz
kernel-crypto-f2b4b7ddf633ffa24ce7c89c9e0d8a06463484e3.tar.xz
kernel-crypto-f2b4b7ddf633ffa24ce7c89c9e0d8a06463484e3.zip
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.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 28e8177ea4a..274f153c870 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,
unsigned long realmode_get_cr(struct kvm_vcpu *vcpu, int cr);
void realmode_set_cr(struct kvm_vcpu *vcpu, int cr, unsigned long value,
unsigned long *rflags);
+void kvm_enable_efer_bits(u64);
int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data);
int kvm_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data);