aboutsummaryrefslogtreecommitdiff
path: root/qdev-monitor.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-07-02 15:25:09 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-07-06 17:01:11 +0200
commit2957f5ada7514f72032a419d8e3ba380786fca04 (patch)
treee4e4ef832fb1a1e4dbe7a650d4e9769d31a666cb /qdev-monitor.c
parent542e0c557b2cbf6ae5f3be694638d17042388a01 (diff)
audio: deprecate -soundhw ac97
Switch to deprecated_register_soundhw(). Remove the now obsolete init function. Add an alias so both ac97 and AC97 are working with -device. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20200702132525.6849-5-kraxel@redhat.com
Diffstat (limited to 'qdev-monitor.c')
-rw-r--r--qdev-monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qdev-monitor.c b/qdev-monitor.c
index 22da107484..105d9792ec 100644
--- a/qdev-monitor.c
+++ b/qdev-monitor.c
@@ -53,6 +53,7 @@ typedef struct QDevAlias
/* Please keep this table sorted by typename. */
static const QDevAlias qdev_alias_table[] = {
+ { "AC97", "ac97" }, /* -soundhw name */
{ "e1000", "e1000-82540em" },
{ "ich9-ahci", "ahci" },
{ "lsi53c895a", "lsi" },