Re: [PATCH] KVM: nVMX: nSVM: Show guest mode in kvm_{entry,exit} tracepoints
From: Sean Christopherson <seanjc@google.com>
Date: 2021-08-02 16:34:47
From: Sean Christopherson <seanjc@google.com>
Date: 2021-08-02 16:34:47
On Mon, Aug 02, 2021, Paolo Bonzini wrote:
On 21/06/21 22:43, Krish Sadhukhan wrote:quoted
With this patch KVM entry and exit tracepoints will show "guest_mode = 0" if it is a guest and "guest_mode = 1" if it is a nested guest.What about adding a "(nested)" suffix for L2, and nothing for L1?
That'd work too, though it would be nice to get vmcx12 printed as well so that it would be possible to determine which L2 is running without having to cross- reference other tracepoints.