diff options
author | Nadav Har'El <nyh@il.ibm.com> | 2011-05-25 23:06:59 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-07-12 11:45:12 +0300 |
commit | 27d6c865211662721e6cf305706e4a3da35f12b4 (patch) | |
tree | 8ddad7953792e3ff0148e952dc9747db6a1b6305 /arch/x86/kvm/x86.c | |
parent | 0140caea3b9972f826416a796271f17b42cbe827 (diff) | |
download | lwn-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.c | 1 |
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) { |