qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/4] v2: add NUMA emulation


From: Andre Przywara
Subject: [Qemu-devel] [PATCH 0/4] v2: add NUMA emulation
Date: Wed, 8 Apr 2009 16:50:11 +0200

Hi,

the following patches add NUMA emulation to QEMU guests.
Although the ultimate goal is KVM with host side support, these
patches are pure QEMU with no host side binding.
This is a reworked version from last week, I fixed some formatting issues
and tried to overcome the 64 CPU limit. So far the limit persists, but I moved
the node assignment to struct CPUState. Sadly the BIOS uses the struct earlier
than the command line parser could write the info into, so the BIOS part
has to use the limited uint64_t array for now. 
The command line syntax is still the same:
-numa node[,mem=<size>[MG]][,cpus=<from>[-<to>]][,nodeid=<nr>]
Patch 1/4 adds the -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.
Patch 2/4 adds an "info numa" command to the monitor to output the current
topology. Since NUMA is advertised via static ACPI tables, no changes are
possible during runtime.
Patch 3/4 uses the QEMU firmware configuration interfacce to send the NUMA
topology to the BIOS, which has to setup the tables. Only one channel is used.
Patch 4/4 finally adds the BIOS support, which create the appropriate
SRAT table reflecting the given topology.

Please apply!

Thanks and Regards,
Andre.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]