mirror of
https://github.com/xemu-project/xemu.git
synced 2025-01-20 02:42:49 +00:00
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;
|
||||
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;
|
||||
|
||||
|
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;
|
||||
int i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user