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>
This commit is contained in:
Eduardo Habkost 2015-02-08 16:51:22 -02:00
parent 1c1e673278
commit dde1111678
3 changed files with 3 additions and 3 deletions

2
numa.c
View file

@ -246,7 +246,7 @@ void parse_numa_opts(void)
}
}
void set_numa_modes(void)
void numa_post_machine_init(void)
{
CPUState *cpu;
int i;