diff options
author | Christoffer Dall <c.dall@virtualopensystems.com> | 2012-06-03 14:17:48 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-06-06 08:24:00 -0400 |
commit | a737f256bf14adf94920aa70d150ab4dcd145109 (patch) | |
tree | d3c167e7c526299f06ceedbca16e3f61515d139c /arch/x86/kvm/vmx.c | |
parent | 4ae57b6cfe67d12c9ba340cf172dc4e38a651ec5 (diff) |
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) | |||
4549 | break; | 4549 | break; |
4550 | } | 4550 | } |
4551 | vcpu->run->exit_reason = 0; | 4551 | vcpu->run->exit_reason = 0; |
4552 | pr_unimpl(vcpu, "unhandled control register: op %d cr %d\n", | 4552 | vcpu_unimpl(vcpu, "unhandled control register: op %d cr %d\n", |
4553 | (int)(exit_qualification >> 4) & 3, cr); | 4553 | (int)(exit_qualification >> 4) & 3, cr); |
4554 | return 0; | 4554 | return 0; |
4555 | } | 4555 | } |