Fixes 9375bc7373caddd31f1ac5c14a69eac5096ea416
Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
 src/conf/domain_conf.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 2837ad67a7..34d1673546 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -4411,6 +4411,12 @@ virDomainDeviceInfoIterateFlags(virDomainDefPtr def,
             if ((rc = cb(def, &device, NULL, opaque)) != 0)
                 return rc;
         }
+        device.type = VIR_DOMAIN_DEVICE_AUDIO;
+        for (i = 0; i < def->naudios; i++) {
+            device.data.audio = def->audios[i];
+            if ((rc = cb(def, &device, NULL, opaque)) != 0)
+                return rc;
+        }
         device.type = VIR_DOMAIN_DEVICE_LEASE;
         for (i = 0; i < def->nleases; i++) {
             device.data.lease = def->leases[i];
-- 
2.29.2

Reply via email to