KVM: Cleanup the kvm_print functions and introduce pr_XX wrappers
authorChristoffer Dall <c.dall@virtualopensystems.com>
Sun, 3 Jun 2012 18:17:48 +0000 (21:17 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 6 Jun 2012 12:24:00 +0000 (15:24 +0300)
commita737f256bf14adf94920aa70d150ab4dcd145109
treed3c167e7c526299f06ceedbca16e3f61515d139c
parent4ae57b6cfe67d12c9ba340cf172dc4e38a651ec5
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>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h