[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 5/6] audio/hda: enable new timer code by default.
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 5/6] audio/hda: enable new timer code by default. |
Date: |
Mon, 25 Jun 2018 15:12:52 +0200 |
Also add a compat property to disable it for old machine types,
needed for live migration compatibility.
Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden
---
include/hw/compat.h | 4 ++++
hw/audio/hda-codec.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
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 \
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(),
};
--
2.9.3
- Re: [Qemu-devel] Drop support for 32bit hosts in qemu? (was: [PULL 1/6] audio/hda: create millisecond timers that handle IO), (continued)
- Re: [Qemu-devel] Drop support for 32bit hosts in qemu?, Juan Quintela, 2018/06/27
- Re: [Qemu-devel] Drop support for 32bit hosts in qemu?, Daniel P . Berrangé, 2018/06/27
- Re: [Qemu-devel] [PULL 1/6] audio/hda: create millisecond timers that handle IO, Gerd Hoffmann, 2018/06/27
- Re: [Qemu-devel] [PULL 1/6] audio/hda: create millisecond timers that handle IO, Paolo Bonzini, 2018/06/27
- Re: [Qemu-devel] [PULL 1/6] audio/hda: create millisecond timers that handle IO, Eric Blake, 2018/06/27
Re: [Qemu-devel] [PULL 1/6] audio/hda: create millisecond timers that handle IO, Peter Maydell, 2018/06/29
[Qemu-devel] [PULL 4/6] audio/hda: detect output buffer overruns, Gerd Hoffmann, 2018/06/25
[Qemu-devel] [PULL 5/6] audio/hda: enable new timer code by default.,
Gerd Hoffmann <=
[Qemu-devel] [PULL 6/6] audio: Convert use of atoi to qemu_strtoi, Gerd Hoffmann, 2018/06/25
Re: [Qemu-devel] [PULL 0/6] Audio 20180625 patches, Peter Maydell, 2018/06/25