[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v7 03/18] apic: Stop timer on reset
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH v7 03/18] apic: Stop timer on reset |
Date: |
Mon, 16 Jan 2012 16:55:37 +0100 |
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.3.4
- [Qemu-devel] [PATCH v7 00/18] uq/master: Introduce basic irqchip support, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 10/18] ioapic: Drop post-load irr initialization, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 14/18] kvm: x86: Establish IRQ0 override control, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 03/18] apic: Stop timer on reset,
Jan Kiszka <=
- [Qemu-devel] [PATCH v7 12/18] memory: Introduce memory_region_init_reservation, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 15/18] kvm: x86: Add user space part for in-kernel APIC, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 18/18] kvm: Activate in-kernel irqchip support, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 04/18] apic: Inject external NMI events via LINT1, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 11/18] ioapic: Factor out base class for KVM reuse, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 06/18] apic: Factor out base class for KVM reuse, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 09/18] i8259: Factor out base class for KVM reuse, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 17/18] kvm: x86: Add user space part for in-kernel IOAPIC, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 08/18] i8259: Completely privatize PicState, Jan Kiszka, 2012/01/16
- [Qemu-devel] [PATCH v7 13/18] kvm: Introduce core services for in-kernel irqchip support, Jan Kiszka, 2012/01/16