[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 13/14] hw/acpi/tco.c: fix tco timer stop
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 13/14] hw/acpi/tco.c: fix tco timer stop |
Date: |
Tue, 28 Feb 2017 09:44:56 +0300 |
From: Igor Pavlikevich <address@hidden>
TCO timer does not actually stop
Signed-off-by: Igor Pavlikevich <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
hw/acpi/tco.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/acpi/tco.c b/hw/acpi/tco.c
index 8ce7daf..b4adac8 100644
--- a/hw/acpi/tco.c
+++ b/hw/acpi/tco.c
@@ -49,6 +49,7 @@ static inline void tco_timer_reload(TCOIORegs *tr)
static inline void tco_timer_stop(TCOIORegs *tr)
{
tr->expire_time = -1;
+ timer_del(tr->tco_timer);
}
static void tco_timer_expired(void *opaque)
--
2.1.4
- [Qemu-devel] [PULL 00/14] Trivial patches for 2017-02-28, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 01/14] target/s390x: Fix typo, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 13/14] hw/acpi/tco.c: fix tco timer stop,
Michael Tokarev <=
- [Qemu-devel] [PULL 06/14] ide: remove undefined behavior in ide-test, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 14/14] syscall: fixed mincore(2) not failing with ENOMEM, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 05/14] CODING_STYLE: Mention preferred comment form, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 09/14] tests/prom-env: Enable the test for the sun4u machine, too, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 11/14] qemu-options.hx: add missing id=chr0 chardev argument in vhost-user example, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 10/14] Update copyright year, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 08/14] cadence_gem: Remove unused parameter debug message, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 04/14] hw/core/register: Mark the device with cannot_instantiate_with_device_add_yet, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 07/14] register: fix incorrect read mask, Michael Tokarev, 2017/02/28
- [Qemu-devel] [PULL 02/14] softfloat: Use correct type in float64_to_uint64_round_to_zero(), Michael Tokarev, 2017/02/28