All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Krish Sadhukhan <krish.sadhukhan@oracle.com>, kvm@vger.kernel.org
Cc: jmattson@google.com, seanjc@google.com, vkuznets@redhat.com,
	wanpengli@tencent.com, joro@8bytes.org
Subject: Re: [PATCH 3/3 v4] KVM: x86: Add a new VM statistic to show number of VCPUs created in a given VM
Date: Thu, 10 Jun 2021 16:27:39 +0200	[thread overview]
Message-ID: <0b7e77b8-d4da-4d17-b77e-7e5933140077@redhat.com> (raw)
In-Reply-To: <20210609180340.104248-4-krish.sadhukhan@oracle.com>

On 09/06/21 20:03, Krish Sadhukhan wrote:
> 'struct kvm' already has a member for tracking the number of VCPUs created
> in a given VM. Add this as a new VM statistic to KVM debugfs. This statistic
> can be a useful metric to track the usage of VCPUs on a host running
> customer VMs.
> 
> Reported-by: kernel test robot <lkp@intel.com>

Not sure why this "Reported-by", you can remove it.

Please add the statistic to all architectures, in order to avoid the #ifdef.

Paolo


      reply	other threads:[~2021-06-10 14:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-09 18:03 [PATCH 0/3 v4] KVM: nVMX: nSVM: Add more statistics to KVM debugfs Krish Sadhukhan
2021-06-09 18:03 ` [PATCH 1/3 v4] KVM: nVMX: nSVM: 'nested_run' should count guest-entry attempts that make it to guest code Krish Sadhukhan
2021-06-10 14:25   ` Paolo Bonzini
2021-06-09 18:03 ` [PATCH 2/3 v4] KVM: nVMX: nSVM: Add a new VCPU statistic to show if VCPU is in guest mode Krish Sadhukhan
2021-06-10 14:27   ` Paolo Bonzini
2021-06-09 18:03 ` [PATCH 3/3 v4] KVM: x86: Add a new VM statistic to show number of VCPUs created in a given VM Krish Sadhukhan
2021-06-10 14:27   ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0b7e77b8-d4da-4d17-b77e-7e5933140077@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=jmattson@google.com \
    --cc=joro@8bytes.org \
    --cc=krish.sadhukhan@oracle.com \
    --cc=kvm@vger.kernel.org \
    --cc=seanjc@google.com \
    --cc=vkuznets@redhat.com \
    --cc=wanpengli@tencent.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.