mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/acpi/tco.c: fix tco timer stop
TCO timer does not actually stop Signed-off-by: Igor Pavlikevich <ipavlikevich@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
3d74ee7dca
commit
6c608953a5
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue