summaryrefslogtreecommitdiffstats
path: root/hw/audio
diff options
context:
space:
mode:
authorGerd Hoffmann2018-06-22 13:12:00 +0200
committerGerd Hoffmann2018-06-25 13:57:57 +0200
commitbc753dc09ff33d99bc9004d7286c50de1d5bece6 (patch)
treef368998797ac3ccd7eaf4963a3a78133b4ac2138 /hw/audio
parentaudio/hda: detect output buffer overruns (diff)
downloadqemu-bc753dc09ff33d99bc9004d7286c50de1d5bece6.tar.gz
qemu-bc753dc09ff33d99bc9004d7286c50de1d5bece6.tar.xz
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 'hw/audio')
-rw-r--r--hw/audio/hda-codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c
index ac67b9aada..fc4945086b 100644
--- a/hw/audio/hda-codec.c
+++ b/hw/audio/hda-codec.c
@@ -839,7 +839,7 @@ static const VMStateDescription vmstate_hda_audio = {
static Property hda_audio_properties[] = {
DEFINE_PROP_UINT32("debug", HDAAudioState, debug, 0),
DEFINE_PROP_BOOL("mixer", HDAAudioState, mixer, true),
- DEFINE_PROP_BOOL("use-timer", HDAAudioState, use_timer, false),
+ DEFINE_PROP_BOOL("use-timer", HDAAudioState, use_timer, true),
DEFINE_PROP_END_OF_LIST(),
};