summary refs log tree commit diff stats
path: root/include/hw/compat.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-06-22 13:12:00 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-06-25 13:57:57 +0200
commitbc753dc09ff33d99bc9004d7286c50de1d5bece6 (patch)
treef368998797ac3ccd7eaf4963a3a78133b4ac2138 /include/hw/compat.h
parent4501ee16c76e89e0a2b2beb95f3b93f965997391 (diff)
downloadfocaccia-qemu-bc753dc09ff33d99bc9004d7286c50de1d5bece6.tar.gz
focaccia-qemu-bc753dc09ff33d99bc9004d7286c50de1d5bece6.zip
audio/hda: enable new timer code by default.
Also add a compat property to disable it for old machine types,
needed for live migration compatibility.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180622111200.30561-6-kraxel@redhat.com
Diffstat (limited to 'include/hw/compat.h')
-rw-r--r--include/hw/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h
index 563908b874..44d5964060 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -6,6 +6,10 @@
         .driver   = "migration",\
         .property = "decompress-error-check",\
         .value    = "off",\
+    },{\
+        .driver   = "hda-audio",\
+        .property = "use-timer",\
+        .value    = "false",\
     },
 
 #define HW_COMPAT_2_11 \