From: Jes Sorensen <jes@sgi.com>
To: Glauber Costa <glommer@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: change in 'smp_cpus' at runtime vs vcpu_info?
Date: Fri, 26 Sep 2008 16:31:41 +0200 [thread overview]
Message-ID: <48DCF24D.5080709@sgi.com> (raw)
In-Reply-To: <5d6222a80809260728q214c93ddt12f6981cf4780259@mail.gmail.com>
Glauber Costa wrote:
> On Fri, Sep 26, 2008 at 11:17 AM, Jes Sorensen <jes@sgi.com> wrote:
>> Hi,
>>
>> Looking through the KVM qemu code, I see nothing that indicates that
>> smp_cpus can be increased after qemu is initially launched?
>>
>> Does anyone see any reason why we couldn't allocate the vcpu_info
>> array at launch time based on the value of smp_cpus? Right now
>> vcpu_info is a static array and I would love to get rid of this
>> limitation if possible.
>
> it can increase in hw/apic.c. The real limitation is then in the bios.
> The APIC tables
> used to be populated based on the smp_cpus value, and now are populated based on
> MAX_CPUS.
Hmmm. I don't see any reference to MAX_CPUS in hw/apic.c, any chance you
can give me a pointer?
Thanks,
Jes
next prev parent reply other threads:[~2008-09-26 14:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 14:17 change in 'smp_cpus' at runtime vs vcpu_info? Jes Sorensen
2008-09-26 14:28 ` Glauber Costa
2008-09-26 14:31 ` Jes Sorensen [this message]
2008-09-26 14:39 ` Glauber Costa
2008-09-26 14:46 ` Jes Sorensen
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=48DCF24D.5080709@sgi.com \
--to=jes@sgi.com \
--cc=glommer@gmail.com \
--cc=kvm@vger.kernel.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 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.