aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-02-08 16:51:20 -0200
committerEduardo Habkost <ehabkost@redhat.com>2015-02-23 15:39:27 -0300
commit7dcd1d70fe2886a1e30d32678b795e6b9b6dd5c4 (patch)
tree5af6a547cca0b0a82bb9400db3731bc18c84ab04 /vl.c
parent25712ffe8478a95abd7b82e2f085c7c929498643 (diff)
numa: Move QemuOpts parsing to set_numa_nodes()
This allows us to make numa_init_func() static. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/vl.c b/vl.c
index 52e9f2cacd..6db7724262 100644
--- a/vl.c
+++ b/vl.c
@@ -4157,11 +4157,6 @@ int main(int argc, char **argv, char **envp)
default_drive(default_floppy, snapshot, IF_FLOPPY, 0, FD_OPTS);
default_drive(default_sdcard, snapshot, IF_SD, 0, SD_OPTS);
- if (qemu_opts_foreach(qemu_find_opts("numa"), numa_init_func,
- NULL, 1) != 0) {
- exit(1);
- }
-
set_numa_nodes();
if (qemu_opts_foreach(qemu_find_opts("mon"), mon_init_func, NULL, 1) != 0) {