mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
apic: Stop timer on reset
All LVTs are masked on reset, so the timer becomes ineffective. Letting it tick nevertheless is harmless, but will at least create a spurious trace event. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
3b9a6ee50e
commit
ab388a9814
1 changed files with 2 additions and 0 deletions
|
@ -528,6 +528,8 @@ void apic_init_reset(DeviceState *d)
|
|||
s->initial_count_load_time = 0;
|
||||
s->next_time = 0;
|
||||
s->wait_for_sipi = 1;
|
||||
|
||||
qemu_del_timer(s->timer);
|
||||
}
|
||||
|
||||
static void apic_startup(APICState *s, int vector_num)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue