qemu-config: load modules when instantiating option groups
Right now the SPICE module is special cased to be loaded when processing of the -spice command line option. However, the spice option group can also be brought in via -readconfig, in which case the module is not loaded. Add a generic hook to load modules that provide a QemuOpts group, and use it for the "spice" and "iscsi" groups. Fixes: #194 Fixes: https://bugs.launchpad.net/qemu/+bug/1910696 Cc: qemu-stable@nongnu.org Signed-off-by:Paolo Bonzini <pbonzini@redhat.com>
Showing
- include/qemu/config-file.h 1 addition, 1 deletioninclude/qemu/config-file.h
- softmmu/vl.c 17 additions, 4 deletionssoftmmu/vl.c
- stubs/meson.build 1 addition, 0 deletionsstubs/meson.build
- stubs/module-opts.c 6 additions, 0 deletionsstubs/module-opts.c
- util/qemu-config.c 1 addition, 0 deletionsutil/qemu-config.c
Loading
Please register or sign in to comment