summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorNadav Har'El <nyh@il.ibm.com>2011-05-25 23:06:59 +0300
committerAvi Kivity <avi@redhat.com>2011-07-12 11:45:12 +0300
commit27d6c865211662721e6cf305706e4a3da35f12b4 (patch)
tree8ddad7953792e3ff0148e952dc9747db6a1b6305 /arch/x86/kvm/x86.c
parent0140caea3b9972f826416a796271f17b42cbe827 (diff)
downloadlwn-27d6c865211662721e6cf305706e4a3da35f12b4.tar.gz
lwn-27d6c865211662721e6cf305706e4a3da35f12b4.zip
KVM: nVMX: Implement VMCLEAR
This patch implements the VMCLEAR instruction. Signed-off-by: Nadav Har'El <nyh@il.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 27d12a3b1890..c1b5a1817e43 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -347,6 +347,7 @@ void kvm_inject_page_fault(struct kvm_vcpu *vcpu, struct x86_exception *fault)
vcpu->arch.cr2 = fault->address;
kvm_queue_exception_e(vcpu, PF_VECTOR, fault->error_code);
}
+EXPORT_SYMBOL_GPL(kvm_inject_page_fault);
void kvm_propagate_fault(struct kvm_vcpu *vcpu, struct x86_exception *fault)
{