aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-03-23 11:35:17 -0400
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:31 -0400
commit6062d012ed23c29672bb0f93ebcfb8e556def726 (patch)
tree1c3d840e68b83c10c5126e6875956cb08d3ae870 /arch/x86/kvm
parentc1f8bc04c6f8576553dc87abe7562e868433a19f (diff)
KVM: VMX: Rename kvm_handle_exit() to vmx_handle_exit()
It is a static vmx-specific function. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/vmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 469787ce93f7..85f4fd541756 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -3162,7 +3162,7 @@ static const int kvm_vmx_max_exit_handlers =
3162 * The guest has exited. See if we can fix it or if we need userspace 3162 * The guest has exited. See if we can fix it or if we need userspace
3163 * assistance. 3163 * assistance.
3164 */ 3164 */
3165static int kvm_handle_exit(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu) 3165static int vmx_handle_exit(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
3166{ 3166{
3167 u32 exit_reason = vmcs_read32(VM_EXIT_REASON); 3167 u32 exit_reason = vmcs_read32(VM_EXIT_REASON);
3168 struct vcpu_vmx *vmx = to_vmx(vcpu); 3168 struct vcpu_vmx *vmx = to_vmx(vcpu);
@@ -3681,7 +3681,7 @@ static struct kvm_x86_ops vmx_x86_ops = {
3681 .tlb_flush = vmx_flush_tlb, 3681 .tlb_flush = vmx_flush_tlb,
3682 3682
3683 .run = vmx_vcpu_run, 3683 .run = vmx_vcpu_run,
3684 .handle_exit = kvm_handle_exit, 3684 .handle_exit = vmx_handle_exit,
3685 .skip_emulated_instruction = skip_emulated_instruction, 3685 .skip_emulated_instruction = skip_emulated_instruction,
3686 .patch_hypercall = vmx_patch_hypercall, 3686 .patch_hypercall = vmx_patch_hypercall,
3687 .get_irq = vmx_get_irq, 3687 .get_irq = vmx_get_irq,