add NUMA emulation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | added -numa cmdline parameter parserqemu-options.hx sysemu.h vl.c | +124 | 2 replies | |
| 2/4 | add info numa command to monitormonitor.c | +18 | 0 replies | |
| 3/4 | sending NUMA topology to BIOShw/ hw/ | +23 | 1 reply | |
| 3/4 | sending NUMA topology to BIOShw/ hw/ | +23 | 0 replies | |
| 4/4 | add BIOS support for an ACPI SRAT table (needed for NUMA support)pc-bios/ pc-bios/ | +308 | 1 reply | |
| 4/4 | add SRAT ACPI table supportbios/ | +164 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/4] add NUMA emulation
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 end of last year, I adapted the command line syntax to Anthony's wishes:
-numa node[,mem=<size>[MG]][,cpus=<from>[-<to>]][,nodeid=<nr>]
If we agree to this scheme (which drops mem=from-to and requires at least one -numa node for each NUMA node), I will provide more detailed documentation. Patch 1/4 adds the -numa command line parameter and sets a QEMU global array with the parsed values. 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.
Looking forward to any comments.
Regards,
Andre.
P.S. I hope I have applied to the latest QEMU coding style ;-)
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448 3567 12
----to satisfy European law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Jochen Polster; Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632