]> git.proxmox.com Git - qemu.git/commit
machine struct - specify max_cpus at the per machine level (Jes Sorensen)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 7 Oct 2008 20:39:39 +0000 (20:39 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 7 Oct 2008 20:39:39 +0000 (20:39 +0000)
commitb2097003ecad43a34851e57969eadf74181d0080
treec229dde888def014a1f161ac7fb2737a1cd54347
parent4b32e1688000d306a676b0a5b89629b9d8da1ed7
machine struct - specify max_cpus at the per machine level (Jes Sorensen)

Introduce a max_cpus per-machine variable, allowing individual boards
to limit it's number of CPUs. Check requested number of CPUs in setup
code and exit if it exceeds the supported number for the machine.
This also renders the static MAX_CPUS check obsolete, so remove this
from vl.c.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5443 c046a42c-6fe2-441c-8c8c-71466251a162
30 files changed:
hw/an5206.c
hw/boards.h
hw/dummy_m68k.c
hw/etraxfs.c
hw/gumstix.c
hw/integratorcp.c
hw/mainstone.c
hw/mcf5208.c
hw/mips_jazz.c
hw/mips_malta.c
hw/mips_mipssim.c
hw/mips_r4k.c
hw/musicpal.c
hw/nseries.c
hw/palm.c
hw/pc.c
hw/ppc405_boards.c
hw/ppc_chrp.c
hw/ppc_oldworld.c
hw/ppc_prep.c
hw/r2d.c
hw/realview.c
hw/shix.c
hw/spitz.c
hw/stellaris.c
hw/sun4m.c
hw/sun4u.c
hw/tosa.c
hw/versatilepb.c
vl.c