summaryrefslogtreecommitdiffstats
path: root/softmmu/vl.c
diff options
context:
space:
mode:
authorClaudio Fontana2021-03-22 14:27:58 +0100
committerPaolo Bonzini2021-05-10 21:41:52 +0200
commit92242f34ab08ecc68750dd118bdad6ed66e3b00e (patch)
tree9034ab8667e197885c49919e29e8ab5f4947bca2 /softmmu/vl.c
parenti386: make cpu_load_efer sysemu-only (diff)
downloadqemu-92242f34ab08ecc68750dd118bdad6ed66e3b00e.tar.gz
qemu-92242f34ab08ecc68750dd118bdad6ed66e3b00e.tar.xz
qemu-92242f34ab08ecc68750dd118bdad6ed66e3b00e.zip
accel: move call to accel_init_interfaces
move the call for sysemu specifically in machine_run_board_init, mirror the calling sequence for user mode too. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Claudio Fontana <cfontana@suse.de> Message-Id: <20210322132800.7470-23-cfontana@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r--softmmu/vl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index 307944aef3..93e78469bc 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -3595,7 +3595,6 @@ void qemu_init(int argc, char **argv, char **envp)
current_machine->cpu_type = parse_cpu_option(cpu_option);
}
/* NB: for machine none cpu_type could STILL be NULL here! */
- accel_init_interfaces(ACCEL_GET_CLASS(current_machine->accelerator));
qemu_resolve_machine_memdev();
parse_numa_opts(current_machine);