forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c551fb0b53
improve error handling during module load, by changing:
bool module_load(const char *prefix, const char *lib_name);
void module_load_qom(const char *type);
to:
int module_load(const char *prefix, const char *name, Error **errp);
int module_load_qom(const char *type, Error **errp);
where the return value is:
-1 on module load error, and errp is set with the error
0 on module or one of its dependencies are not installed
1 on module load success
2 on module load success (module already loaded or built-in)
module_load_qom_one has been introduced in:
commit
|
2 years ago | |
---|---|---|
.. | ||
alsaaudio.c | 2 years ago | |
audio.c | 2 years ago | |
audio.h | 2 years ago | |
audio_int.h | 2 years ago | |
audio_legacy.c | 3 years ago | |
audio_template.h | 2 years ago | |
audio_win_int.c | 3 years ago | |
audio_win_int.h | 15 years ago | |
coreaudio.m | 3 years ago | |
dbusaudio.c | 2 years ago | |
dsound_template.h | 4 years ago | |
dsoundaudio.c | 3 years ago | |
jackaudio.c | 3 years ago | |
meson.build | 2 years ago | |
mixeng.c | 3 years ago | |
mixeng.h | 5 years ago | |
mixeng_template.h | 5 years ago | |
noaudio.c | 2 years ago | |
ossaudio.c | 3 years ago | |
paaudio.c | 3 years ago | |
rate_template.h | 2 years ago | |
sdlaudio.c | 3 years ago | |
sndioaudio.c | 2 years ago | |
spiceaudio.c | 2 years ago | |
trace-events | 3 years ago | |
trace.h | 4 years ago | |
wavaudio.c | 2 years ago | |
wavcapture.c | 4 years ago |