summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorChristoffer Dall2012-06-03 20:17:48 +0200
committerAvi Kivity2012-06-06 14:24:00 +0200
commita737f256bf14adf94920aa70d150ab4dcd145109 (patch)
treed3c167e7c526299f06ceedbca16e3f61515d139c /arch/x86/kvm/vmx.c
parentKVM: s390: Change maintainer (diff)
downloadkernel-qcow2-linux-a737f256bf14adf94920aa70d150ab4dcd145109.tar.gz
kernel-qcow2-linux-a737f256bf14adf94920aa70d150ab4dcd145109.tar.xz
kernel-qcow2-linux-a737f256bf14adf94920aa70d150ab4dcd145109.zip
KVM: Cleanup the kvm_print functions and introduce pr_XX wrappers
Introduces a couple of print functions, which are essentially wrappers around standard printk functions, with a KVM: prefix. Functions introduced or modified are: - kvm_err(fmt, ...) - kvm_info(fmt, ...) - kvm_debug(fmt, ...) - kvm_pr_unimpl(fmt, ...) - pr_unimpl(vcpu, fmt, ...) -> vcpu_unimpl(vcpu, fmt, ...) Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index f78662ec8677..eeeb4a25aed6 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -4549,7 +4549,7 @@ static int handle_cr(struct kvm_vcpu *vcpu)
break;
}
vcpu->run->exit_reason = 0;
- pr_unimpl(vcpu, "unhandled control register: op %d cr %d\n",
+ vcpu_unimpl(vcpu, "unhandled control register: op %d cr %d\n",
(int)(exit_qualification >> 4) & 3, cr);
return 0;
}