diff options
author | Christoffer Dall <c.dall@virtualopensystems.com> | 2012-06-03 21:17:48 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-06-06 15:24:00 +0300 |
commit | a737f256bf14adf94920aa70d150ab4dcd145109 (patch) | |
tree | d3c167e7c526299f06ceedbca16e3f61515d139c /arch/x86/kvm/vmx.c | |
parent | 4ae57b6cfe67d12c9ba340cf172dc4e38a651ec5 (diff) | |
download | lwn-a737f256bf14adf94920aa70d150ab4dcd145109.tar.gz lwn-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.c | 2 |
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; } |