mirror of https://github.com/xqemu/xqemu.git
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:
parent
1c1e673278
commit
dde1111678
|
@ -17,7 +17,7 @@ typedef struct node_info {
|
||||||
} NodeInfo;
|
} NodeInfo;
|
||||||
extern NodeInfo numa_info[MAX_NODES];
|
extern NodeInfo numa_info[MAX_NODES];
|
||||||
void parse_numa_opts(void);
|
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[]);
|
void query_numa_node_mem(uint64_t node_mem[]);
|
||||||
extern QemuOptsList qemu_numa_opts;
|
extern QemuOptsList qemu_numa_opts;
|
||||||
|
|
||||||
|
|
2
numa.c
2
numa.c
|
@ -246,7 +246,7 @@ void parse_numa_opts(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_numa_modes(void)
|
void numa_post_machine_init(void)
|
||||||
{
|
{
|
||||||
CPUState *cpu;
|
CPUState *cpu;
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in New Issue