diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 20:39:39 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 20:39:39 +0000 |
commit | fc4cee5ce8127ea0b901dd7e3700d7e4381cdb92 (patch) | |
tree | c229dde888def014a1f161ac7fb2737a1cd54347 /hw/integratorcp.c | |
parent | 28baea9715c55a0e9e7f9dfc996a036429e4bdd8 (diff) | |
download | qemu-fc4cee5ce8127ea0b901dd7e3700d7e4381cdb92.tar.gz qemu-fc4cee5ce8127ea0b901dd7e3700d7e4381cdb92.tar.bz2 qemu-fc4cee5ce8127ea0b901dd7e3700d7e4381cdb92.zip |
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
Diffstat (limited to 'hw/integratorcp.c')
-rw-r--r-- | hw/integratorcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 779d46b70e..1ae5d2a833 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -544,4 +544,5 @@ QEMUMachine integratorcp_machine = { .desc = "ARM Integrator/CP (ARM926EJ-S)", .init = integratorcp_init, .ram_require = 0x100000, + .max_cpus = 1, }; |