diff options
| author | Eduardo Habkost | 2015-02-08 19:51:22 +0100 |
|---|---|---|
| committer | Eduardo Habkost | 2015-02-23 19:39:27 +0100 |
| commit | dde11116782c1891a057165539efc014cf365026 (patch) | |
| tree | 7208cd6e90934b4f41cdbf1c081948d30f79f12a | |
| parent | numa: Rename option parsing functions (diff) | |
| download | qemu-dde11116782c1891a057165539efc014cf365026.tar.gz qemu-dde11116782c1891a057165539efc014cf365026.tar.xz qemu-dde11116782c1891a057165539efc014cf365026.zip | |
numa: Rename set_numa_modes() to numa_post_machine_init()
This function does some initialization that needs to be done after
machine init. The function may be eventually removed if we move the
CPUState.numa_node initialization to the CPU init code, but while the
function exists, lets give it a name that makes sense.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
| -rw-r--r-- | include/sysemu/numa.h | 2 | ||||
| -rw-r--r-- | numa.c | 2 | ||||
| -rw-r--r-- | vl.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/sysemu/numa.h b/include/sysemu/numa.h index 453b49af06..5633b856a8 100644 --- a/include/sysemu/numa.h +++ b/include/sysemu/numa.h @@ -17,7 +17,7 @@ typedef struct node_info { } NodeInfo; extern NodeInfo numa_info[MAX_NODES]; void parse_numa_opts(void); -void set_numa_modes(void); +void numa_post_machine_init(void); void query_numa_node_mem(uint64_t node_mem[]); extern QemuOptsList qemu_numa_opts; @@ -246,7 +246,7 @@ void parse_numa_opts(void) } } -void set_numa_modes(void) +void numa_post_machine_init(void) { CPUState *cpu; int i; @@ -4216,7 +4216,7 @@ int main(int argc, char **argv, char **envp) cpu_synchronize_all_post_init(); - set_numa_modes(); + numa_post_machine_init(); /* init USB devices */ if (usb_enabled()) { |
