diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-02-08 16:51:20 -0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2015-02-23 15:39:27 -0300 |
commit | 7dcd1d70fe2886a1e30d32678b795e6b9b6dd5c4 (patch) | |
tree | 5af6a547cca0b0a82bb9400db3731bc18c84ab04 /vl.c | |
parent | 25712ffe8478a95abd7b82e2f085c7c929498643 (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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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) { |