Re: [PATCHv2 2/2] kvm: x86: implement KVM PM-notifier

From: Sergey Senozhatsky
Date: Sat Jun 05 2021 - 07:34:17 EST


On (21/06/05 12:27), Marc Zyngier wrote:
> > Do other printk-s contain such info? All I can see so far is
> > `#define pr_fmt(fmt) "kvm-guest: " fmt` which doesn't point
> > at any particular VM.
>
> Look for kvm_{err,info,debug...} and vcpu_{err,debug...}, all of
> which will at least give you a PID. Even x86 uses it.

Oh, I didn't notice it, arch/x86/kvm/x86.c has very few of them (2?).

Great, thanks.