]> git.proxmox.com Git - mirror_qemu.git/commit
audio: add module loading support
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 6 Mar 2018 07:40:48 +0000 (08:40 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 12 Mar 2018 10:18:26 +0000 (11:18 +0100)
commit65ba86966146ad074da0a18d209d1a52f2befd5a
treec0cd88a9491cbd1fd35e056eb3035ac1132d8fde
parentd3893a39eb0165809325071ab07984797d78e57a
audio: add module loading support

Make audio_driver_lookup() try load the module in case it doesn't find
the driver in the registry.  Also load all modules for -audio-help, so
the help output includes the help text for modular audio drivers.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20180306074053.22856-3-kraxel@redhat.com
audio/audio.c
include/qemu/module.h