[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 05/20] apic: Stop timer on reset
From: |
Marcelo Tosatti |
Subject: |
[Qemu-devel] [PATCH 05/20] apic: Stop timer on reset |
Date: |
Fri, 20 Jan 2012 15:26:31 -0200 |
From: Jan Kiszka <address@hidden>
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 <address@hidden>
---
hw/apic.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/apic.c b/hw/apic.c
index 9d0f460..4b97b17 100644
--- a/hw/apic.c
+++ b/hw/apic.c
@@ -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)
--
1.7.6.4
- [Qemu-devel] [PATCH 00/20] [PULL] qemu-kvm.git uq/master queue, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 02/20] hyper-v: initialize Hyper-V CPUID leaves., Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 05/20] apic: Stop timer on reset,
Marcelo Tosatti <=
- [Qemu-devel] [PATCH 15/20] kvm: Introduce core services for in-kernel irqchip support, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 16/20] kvm: x86: Establish IRQ0 override control, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 14/20] memory: Introduce memory_region_init_reservation, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 10/20] i8259: Completely privatize PicState, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 09/20] apic: Open-code timer save/restore, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 07/20] apic: Introduce apic_report_irq_delivered, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 04/20] kvm: Move kvmclock into hw/kvm folder, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 12/20] ioapic: Drop post-load irr initialization, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 20/20] kvm: Activate in-kernel irqchip support, Marcelo Tosatti, 2012/01/20
- [Qemu-devel] [PATCH 06/20] apic: Inject external NMI events via LINT1, Marcelo Tosatti, 2012/01/20