diff options
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index aaa6742089e5..711ea42370a8 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c | |||
@@ -1078,16 +1078,8 @@ static int halt_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
1078 | 1078 | ||
1079 | static int vmmcall_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | 1079 | static int vmmcall_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) |
1080 | { | 1080 | { |
1081 | printk(KERN_DEBUG "got vmmcall at RIP %08llx\n", | ||
1082 | vcpu->svm->vmcb->save.rip); | ||
1083 | printk(KERN_DEBUG "vmmcall params: %08llx, %08lx, %08lx, %08lx\n", | ||
1084 | vcpu->svm->vmcb->save.rax, | ||
1085 | vcpu->regs[VCPU_REGS_RCX], | ||
1086 | vcpu->regs[VCPU_REGS_RDX], | ||
1087 | vcpu->regs[VCPU_REGS_RBP]); | ||
1088 | vcpu->svm->vmcb->save.rax = 0; | ||
1089 | vcpu->svm->vmcb->save.rip += 3; | 1081 | vcpu->svm->vmcb->save.rip += 3; |
1090 | return 1; | 1082 | return kvm_hypercall(vcpu, kvm_run); |
1091 | } | 1083 | } |
1092 | 1084 | ||
1093 | static int invalid_op_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | 1085 | static int invalid_op_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) |