Skip to contentSkip to conversation

v2: KVM-userspace: introduce -numa command line option

PATCH In review Andre Przywara 1 participant 1 message Dec 5, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 v2: KVM-userspace: introduce -numa command line option

The attached patch parses the command line options given at -numa and passes it on to lower levels (namely qemu-kvm.c)

Signature · 9 lines
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 277-84917
----to satisfy European Law for business letters:
AMD Saxony Limited Liability Company & Co. KG,
Wilschdorfer Landstr. 101, 01109 Dresden, Germany
Register Court Dresden: HRA 4896, General Partner authorized
to represent: AMD Saxony LLC (Wilmington, Delaware, US)
General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy

commit 7f9c2380d2d4e79da30dcc219cc4274f3dd36183

Author: Andre Przywara <[email protected]>
Date:   Fri Dec 5 13:36:43 2008 +0100

introduce -numa comand line option

qemu/sysemu.h +7 -0
index 5abda5c..40868fc 100644
@@ -99,6 +99,13 @@ extern int win2k_install_hack;
 extern int alt_grab;
 extern int usb_enabled;
 extern int smp_cpus;
+
+#define MAX_NODES 64
+extern int numnumanodes;
+extern uint64_t hostnodes[MAX_NODES];
+extern uint64_t node_mem[MAX_NODES];
+extern uint64_t node_to_cpus[MAX_NODES];
+
 extern int cursor_hide;
 extern int graphic_rotate;
 extern int no_quit;
qemu/vl.c +115 -0

163 lines not on this page · raw message