@samitouri / QOSamiQemu / commits / d8f9785fcc

module: remove audio module support

It relies on dynamic object loading support instead. Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com> Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>

Marc-André Lureau committed Oct 17, 2025 at 23:15 UTC d8f9785fcc6b238924dc6d8aa4c12ab8514410e9
1 file changed +1 -2
include/qemu/module.h
+1 -2
@@ -63,7 +63,6 @@ typedef enum {
63 #define migration_init(function) module_init(function, MODULE_INIT_MIGRATION)
64 #define block_module_load(lib, errp) module_load("block-", lib, errp)
65 #define ui_module_load(lib, errp) module_load("ui-", lib, errp)
66 -#define audio_module_load(lib, errp) module_load("audio-", lib, errp)
66
67 void register_module_init(void (*fn)(void), module_init_type type);
68 void register_dso_module_init(void (*fn)(void), module_init_type type);
@@ -78,7 +77,7 @@ void module_call_init(module_init_type type);
77 * - get_relocated_path(CONFIG_QEMU_MODDIR);
78 * - /var/run/qemu/${version_dir}
79 *
81 - * prefix: a subsystem prefix, or the empty string ("audio-", ..., "")
80 + * prefix: a subsystem prefix, or the empty string ("ui-", ..., "")
81 * name: name of the module
82 * errp: error to set in case the module is found, but load failed.
83 *