aboutsummaryrefslogtreecommitdiff
path: root/numa.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-02-08 16:51:22 -0200
committerEduardo Habkost <ehabkost@redhat.com>2015-02-23 15:39:27 -0300
commitdde11116782c1891a057165539efc014cf365026 (patch)
tree7208cd6e90934b4f41cdbf1c081948d30f79f12a /numa.c
parent1c1e6732786d46c7b0ab160cbf61122c53bb44cc (diff)
downloadqemu-dde11116782c1891a057165539efc014cf365026.zip
qemu-dde11116782c1891a057165539efc014cf365026.tar.gz
qemu-dde11116782c1891a057165539efc014cf365026.tar.bz2
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>
Diffstat (limited to 'numa.c')
-rw-r--r--numa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numa.c b/numa.c
index d5b95e1..0d15375 100644
--- a/numa.c
+++ b/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;