Re: [PATCH 11/14] KVM: stats: Add stat to detect if vcpu is currently blocking

2021-09-29 Thread David Matlack
On Fri, Sep 24, 2021 at 05:55:25PM -0700, Sean Christopherson wrote: > From: Jing Zhang > > Add a "blocking" stat that userspace can use to detect the case where a > vCPU is not being run because of a vCPU/guest action, e.g. HLT or WFS on > x86, WFI on arm64, etc... Current guest/host/halt stats

[PATCH 11/14] KVM: stats: Add stat to detect if vcpu is currently blocking

2021-09-24 Thread Sean Christopherson
From: Jing Zhang Add a "blocking" stat that userspace can use to detect the case where a vCPU is not being run because of a vCPU/guest action, e.g. HLT or WFS on x86, WFI on arm64, etc... Current guest/host/halt stats don't show this well, e.g. if a guest halts for a long period of time then the