diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-06-24 12:38:05 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-09 18:20:27 +0200 |
commit | 5ebbfecc3e6fa443a506ec5fe65f0ca98973d404 (patch) | |
tree | 15cbc45b58d5a9f30b702c841b1481236b34c23f /softmmu | |
parent | f5723ab66560a10f8461ac223e3d8369c10dc964 (diff) |
modules: generate modinfo.c
Add script to generate C source with a small
database containing the module meta-data.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
Message-Id: <20210624103836.2382472-4-kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu')
-rw-r--r-- | softmmu/vl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index a50c8575a1..7cef3423a7 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -2755,6 +2755,10 @@ void qemu_init(int argc, char **argv, char **envp) error_init(argv[0]); qemu_init_exec_dir(argv[0]); +#ifdef CONFIG_MODULES + module_init_info(qemu_modinfo); +#endif + qemu_init_subsystems(); /* first pass of option parsing */ |