]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-options.hx
added -numa cmdline parameter parser (Andre Przywara)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 21 Apr 2009 22:30:27 +0000 (22:30 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 21 Apr 2009 22:30:27 +0000 (22:30 +0000)
commit268a362c63dcd89754566b4e04c8311847c7eabb
treeea310e31580afa505311e93426fb12c72fe2f3ec
parent754d00ae3a1bfabb6069b59f72cdec1dee99ea0b
added -numa cmdline parameter parser (Andre Przywara)

adds a -numa command line parameter and sets a QEMU global array with
the memory sizes. The CPU-to-node assignemnt is written into the
CPUState. If no specific values for memory and CPUs are given,
all resources will be split equally across all nodes.
This code currently support only up to 64 virtual CPUs.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7210 c046a42c-6fe2-441c-8c8c-71466251a162
cpu-defs.h
exec.c
qemu-options.hx
sysemu.h
vl.c