hw/audio: rename model list function

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251021090317.425409-3-marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
Marc-André Lureau
2025-10-22 08:55:28 +02:00
committed by Philippe Mathieu-Daudé
parent 047b721c60
commit 74d3a119ef
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ void deprecated_register_soundhw(const char *name, const char *descr,
soundhw_count++;
}
void show_valid_soundhw(void)
void audio_print_available_models(void)
{
struct soundhw *c;
@@ -102,7 +102,7 @@ void select_soundhw(const char *name, const char *audiodev)
if (!c->name) {
error_report("Unknown audio device model `%s'", name);
show_valid_soundhw();
audio_print_available_models();
exit(1);
}
}
+1 -1
View File
@@ -7,7 +7,7 @@ void deprecated_register_soundhw(const char *name, const char *descr,
int isa, const char *typename);
void soundhw_init(void);
void show_valid_soundhw(void);
void audio_print_available_models(void);
void select_soundhw(const char *name, const char *audiodev);
#endif
+1 -1
View File
@@ -3078,7 +3078,7 @@ void qemu_init(int argc, char **argv)
model = g_strdup(qdict_get_str(dict, "model"));
qdict_del(dict, "model");
if (is_help_option(model)) {
show_valid_soundhw();
audio_print_available_models();
exit(0);
}
}