qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Greg Kurz <groug@kaod.org>
Cc: David Gibson <david@gibson.dropbear.id.au>,
	qemu-ppc@nongnu.org, Alexander Graf <agraf@suse.de>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 3/3] KVM: use KVM_CAP_MAX_VCPU_ID
Date: Mon, 13 Jun 2016 13:25:51 +0200	[thread overview]
Message-ID: <00c3d237-3247-24f0-a838-d5b20940e77b@redhat.com> (raw)
In-Reply-To: <20160613104203.2ac203c9@bahia.lan>



On 13/06/2016 10:42, Greg Kurz wrote:
> On Fri, 27 May 2016 13:16:49 +0200
> Greg Kurz <gkurz@linux.vnet.ibm.com> wrote:
> 
>> On Fri, 27 May 2016 13:58:28 +1000
>> David Gibson <david@gibson.dropbear.id.au> wrote:
>>
>>> On Thu, May 26, 2016 at 10:02:23AM +0200, Greg Kurz wrote:  
>>>> As stated in linux/Documentation/virtual/kvm/api.txt:
>>>>
>>>> The maximum possible value for max_vcpu_id can be retrieved using the
>>>> KVM_CAP_MAX_VCPU_ID of the KVM_CHECK_EXTENSION ioctl() at run-time.
>>>>
>>>> If the KVM_CAP_MAX_VCPU_ID does not exist, you should assume that
>>>> max_vcpu_id is the same as the value returned from KVM_CAP_MAX_VCPUS.
>>>>
>>>> Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>    
>>>
>>> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
>>>   
>>
>> Paolo,
>>
>> FYI Patch 1/3 was in David's pull request earlier today. It is now upstream.
>>
>> You may now apply 2/3 and 3/3.
>>
>> Thanks !
>>
> 
> Hi Paolo,
> 
> Just a friendly reminder. Without this patch, we cannot create more than
> 128 single-threaded vCPUs on POWER8 if the host has unsplit cores.

Thanks!

Paolo

      reply	other threads:[~2016-06-13 11:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-26  8:02 [Qemu-devel] [PATCH 0/3] PPC/KVM support higher vCPU ids Greg Kurz
2016-05-26  8:02 ` [Qemu-devel] [PATCH 1/3] PPC/KVM: early validation of vcpu id Greg Kurz
2016-05-27  3:58   ` David Gibson
2016-05-26  8:02 ` [Qemu-devel] [PATCH 2/3] linux-headers: update to Linux 4.6 Greg Kurz
2016-05-26  8:02 ` [Qemu-devel] [PATCH 3/3] KVM: use KVM_CAP_MAX_VCPU_ID Greg Kurz
2016-05-27  3:58   ` David Gibson
2016-05-27 11:16     ` Greg Kurz
2016-06-07  8:42       ` Greg Kurz
2016-06-13  8:42       ` Greg Kurz
2016-06-13 11:25         ` 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=00c3d237-3247-24f0-a838-d5b20940e77b@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=agraf@suse.de \
    --cc=david@gibson.dropbear.id.au \
    --cc=groug@kaod.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).