mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
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>
(cherry picked from commit 632a887350
)
Signed-off-by: Michael Roth <michael.roth@amd.com>
7 lines
109 B
C
7 lines
109 B
C
#include "qemu/osdep.h"
|
|
#include "qemu/config-file.h"
|
|
|
|
void qemu_load_module_for_opts(const char *group)
|
|
{
|
|
}
|