softmmu: Add qemu_init_arch_modules()
commitc80cafa0c73cafa2d24236913a16eb68d505ab06
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 3 Feb 2022 15:58:33 +0000 (3 16:58 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 6 Mar 2022 12:15:42 +0000 (6 13:15 +0100)
treeef83742953455021060d5fc4b6897d3a064a5402
parent1f649fe088fc6ac119ebdffa9a7691f25a02e937
softmmu: Add qemu_init_arch_modules()

module_allow_arch() is the single target-specific call in the
whole vl.c file. Move the module initialization out to arch_init.c,
that way we'll be able to build vl.o once for all targets (the
next commit).

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220207075426.81934-21-f4bug@amsat.org>
include/sysemu/arch_init.h
softmmu/arch_init.c
softmmu/vl.c