aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi/tco.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/acpi/tco.c')
-rw-r--r--hw/acpi/tco.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/acpi/tco.c b/hw/acpi/tco.c
index 8ce7daf23a..b4adac88cd 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)