diff mbox series

[SRU,F/aws,v2,2/6] x86/kvm: Fix pr_info() for async PF setup/teardown

Message ID 20210518152538.197174-3-andrea.righi@canonical.com
State New
Headers show
Series aws: proper fix for c5.18xlarge hibernation issues | expand

Commit Message

Andrea Righi May 18, 2021, 3:25 p.m. UTC
From: Vitaly Kuznetsov <vkuznets@redhat.com>

BugLink: https://bugs.launchpad.net/bugs/1920944

'pr_fmt' already has 'kvm-guest: ' so 'KVM' prefix is redundant.
"Unregister pv shared memory" is very ambiguous, it's hard to
say which particular PV feature it relates to.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
(backported from http://next.patchew.org/Linux/20210414123544.1060604-1-vkuznets@redhat.com/)
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
---
 arch/x86/kernel/kvm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c
index e820568ed4d5..ec7e4b9f50a5 100644
--- a/arch/x86/kernel/kvm.c
+++ b/arch/x86/kernel/kvm.c
@@ -321,7 +321,7 @@  static void kvm_guest_cpu_init(void)
 
 		wrmsrl(MSR_KVM_ASYNC_PF_EN, pa);
 		__this_cpu_write(apf_reason.enabled, 1);
-		printk(KERN_INFO"KVM setup async PF for cpu %d\n",
+		printk(KERN_INFO "setup async PF for cpu %d\n",
 		       smp_processor_id());
 	}
 
@@ -347,7 +347,7 @@  static void kvm_pv_disable_apf(void)
 	wrmsrl(MSR_KVM_ASYNC_PF_EN, 0);
 	__this_cpu_write(apf_reason.enabled, 0);
 
-	printk(KERN_INFO"Unregister pv shared memory for cpu %d\n",
+	printk(KERN_INFO "disable async PF for cpu %d\n",
 	       smp_processor_id());
 }