aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r--drivers/kvm/vmx.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index ca79e594ea6e..ff956a6302ec 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -1659,16 +1659,8 @@ static int handle_halt(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
1659 1659
1660static int handle_vmcall(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) 1660static int handle_vmcall(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
1661{ 1661{
1662 kvm_run->exit_reason = KVM_EXIT_DEBUG;
1663 printk(KERN_DEBUG "got vmcall at RIP %08lx\n", vmcs_readl(GUEST_RIP));
1664 printk(KERN_DEBUG "vmcall params: %08lx, %08lx, %08lx, %08lx\n",
1665 vcpu->regs[VCPU_REGS_RAX],
1666 vcpu->regs[VCPU_REGS_RCX],
1667 vcpu->regs[VCPU_REGS_RDX],
1668 vcpu->regs[VCPU_REGS_RBP]);
1669 vcpu->regs[VCPU_REGS_RAX] = 0;
1670 vmcs_writel(GUEST_RIP, vmcs_readl(GUEST_RIP)+3); 1662 vmcs_writel(GUEST_RIP, vmcs_readl(GUEST_RIP)+3);
1671 return 1; 1663 return kvm_hypercall(vcpu, kvm_run);
1672} 1664}
1673 1665
1674/* 1666/*