KVM: Use pr_info/pr_err in kvm_main.c
authorXiubo Li <lixiubo@cmss.chinamobile.com>
Thu, 26 Feb 2015 06:58:26 +0000 (14:58 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 10 Mar 2015 13:37:45 +0000 (10:37 -0300)
commit1170adc6dd9e94d3cefb6eefe1f44b308d882515
tree6625ec8a8c6697d5c485cb2812a38e2e611725b8
parent20e87b72244f922f420d83b0b15b42d17b92acae
KVM: Use pr_info/pr_err in kvm_main.c

WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then
dev_info(dev, ... then pr_info(...  to printk(KERN_INFO ...
+   printk(KERN_INFO "kvm: exiting hardware virtualization\n");

WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev, ... then
dev_err(dev, ... then pr_err(...  to printk(KERN_ERR ...
+ printk(KERN_ERR "kvm: misc device register failed\n");

Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/kvm_main.c