qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [patch 0/2] QEMU maxcpus support v2
@ 2009-06-24  8:35 Jes Sorensen
  2009-06-24  8:35 ` [Qemu-devel] [patch 1/2] Introduce -smp , maxcpus= flag to specify maximum number of CPUS Jes Sorensen
  2009-06-24  8:35 ` [Qemu-devel] [patch 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen
  0 siblings, 2 replies; 21+ messages in thread
From: Jes Sorensen @ 2009-06-24  8:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: Anthony Liguori, Avi Kivity

Hi,

Here is an updated version of the ,maxcpus patch, now adding it as a
sub-option to -smp, ie, -smp <n>,maxcpus=<y>. In addition it has the
QEMU BOCHS patches to make the BIOS use the value passed.

Specifying maxcpus= allows the user to cap the limit of possibly cpus
of the system, as opposed to -smp which specifies the number of
running cpus at startup. This allows us to build BIOS tables
accordingly when trying to scale up in size, and it also allows for
the BIOS to build smaller tables when not needed.

I am going to submit a set of patches directly for BOCHS as well.

Cheers,
Jes

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [Qemu-devel] [PATCH 0/2] QEMU maxcpus support v4
@ 2009-07-23 15:03 Jes Sorensen
  2009-07-23 15:03 ` [Qemu-devel] [PATCH 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen
  0 siblings, 1 reply; 21+ messages in thread
From: Jes Sorensen @ 2009-07-23 15:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: Anthony Liguori, gleb

Hi,

Ok so this time I think i nailed the problem. Using Anthony's tree I
was able to reproduce the failure. Why it worked with my testing
previously I have no idea :-(

The problem was that the local processor APICs were not marked
disabled for the processors not being active. I also changed the code
to mark unused processors as disabled in the MP table, though that
seemed to have no impact on this particular failure.

With this version I can boot Ubuntu all the way to X using Anthony's
tree.

Sorry for the noise, I am still mystified :-(

Cheers,
Jes

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [Qemu-devel] [PATCH 0/2] QEMU maxcpus support v3
@ 2009-07-20 14:43 Jes Sorensen
  2009-07-20 14:43 ` [Qemu-devel] [PATCH 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen
  0 siblings, 1 reply; 21+ messages in thread
From: Jes Sorensen @ 2009-07-20 14:43 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

Anthony,

Here's an updated version of the maxcpus patch, which goes on top of
the most recent QEMU. My older version was against a 2 week old
version and I see you have applied some boot menu stuff since then
which did clash with the FW_CFG magic number I used. I suspect that
could have caused the problems.

Just did a full fresh rebuild and this one works fine for me with the
Ubuntu test image.

Jes

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [Qemu-devel] [PATCH 0/2] QEMU maxcpus support v2
@ 2009-07-14 12:53 Jes Sorensen
  2009-07-14 12:53 ` [Qemu-devel] [PATCH 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen
  0 siblings, 1 reply; 21+ messages in thread
From: Jes Sorensen @ 2009-07-14 12:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: Anthony Liguori, filip.navara, Avi Kivity, gleb

Hi,

Another update to the maxcpus patch. Gleb pointed out that I was
enabling all processors in the MADT, which clearly wasn't my
intention. My brain had obviously already left for vacation when
I wrote it.

Anthony, any chance you could try this and see if it fixes your
Ubuntu guest problem?

Specifying maxcpus= allows the user to cap the limit of possibly cpus
of the system, as opposed to -smp which specifies the number of
running cpus at startup. This allows us to build BIOS tables
accordingly when trying to scale up in size, and it also allows for
the BIOS to build smaller tables when not needed.

Cheers,
Jes

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [Qemu-devel] [patch 0/2] QEMU maxcpus support
@ 2009-06-23 10:00 Jes Sorensen
  2009-06-23 10:00 ` [Qemu-devel] [patch 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen
  0 siblings, 1 reply; 21+ messages in thread
From: Jes Sorensen @ 2009-06-23 10:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: Anthony Liguori, Avi Kivity

Hi,

This patch set adds the -maxcpus argument to QEMU and provides the
needed patches to the BOCHS patch queue to make the BIOS use it.

Specifying -maxcpus allows the user to cap the limit of possibly cpus
of the system, as opposed to -smp which specifies the number of
running cpus at startup. This allows us to build BIOS tables
accordingly when trying to scale up in size, and it also allows for
the BIOS to build smaller tables when not needed.

I am going to submit a set of patches directly for BOCHS as well
covering the BIOS part, but I am still waiting for my bochs-developers
subscription to be enabled.

Avi asked me to post this both for QEMU and the BIOS part for BOCHS.

Cheers,
Jes

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2009-07-23 15:06 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24  8:35 [Qemu-devel] [patch 0/2] QEMU maxcpus support v2 Jes Sorensen
2009-06-24  8:35 ` [Qemu-devel] [patch 1/2] Introduce -smp , maxcpus= flag to specify maximum number of CPUS Jes Sorensen
2009-06-24  9:02   ` [Qemu-devel] " Avi Kivity
2009-06-24  9:02     ` Jes Sorensen
2009-06-24  9:15       ` Avi Kivity
2009-06-24 12:04         ` Jes Sorensen
2009-06-24  8:35 ` [Qemu-devel] [patch 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen
2009-07-09 21:57   ` Anthony Liguori
2009-07-12  9:39     ` Avi Kivity
2009-07-12 13:23       ` Anthony Liguori
2009-07-12 13:36         ` Avi Kivity
2009-07-14  8:38     ` Jes Sorensen
2009-07-14  9:21       ` Filip Navara
2009-07-14  9:32         ` Gleb Natapov
2009-07-14 10:16           ` Alexander Graf
2009-07-14 11:15             ` Filip Navara
2009-07-14 11:21         ` Jes Sorensen
  -- strict thread matches above, loose matches on Subject: below --
2009-07-23 15:03 [Qemu-devel] [PATCH 0/2] QEMU maxcpus support v4 Jes Sorensen
2009-07-23 15:03 ` [Qemu-devel] [PATCH 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen
2009-07-20 14:43 [Qemu-devel] [PATCH 0/2] QEMU maxcpus support v3 Jes Sorensen
2009-07-20 14:43 ` [Qemu-devel] [PATCH 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen
2009-07-14 12:53 [Qemu-devel] [PATCH 0/2] QEMU maxcpus support v2 Jes Sorensen
2009-07-14 12:53 ` [Qemu-devel] [PATCH 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen
2009-06-23 10:00 [Qemu-devel] [patch 0/2] QEMU maxcpus support Jes Sorensen
2009-06-23 10:00 ` [Qemu-devel] [patch 2/2] QEMU BOCHS bios patches to use maxcpus value Jes Sorensen

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).