[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 03/16] apic: Stop timer on reset
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH v3 03/16] apic: Stop timer on reset |
Date: |
Tue, 6 Dec 2011 13:58:03 +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 8289eef..2644a82 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 v3 09/16] ioapic: Introduce backend/frontend infrastructure for KVM reuse, (continued)
- [Qemu-devel] [PATCH v3 09/16] ioapic: Introduce backend/frontend infrastructure for KVM reuse, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 01/16] msi: Generalize msix_supported to msi_supported, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 10/16] memory: Introduce memory_region_init_reservation, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 07/16] ioapic: Convert to memory API, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 11/16] kvm: Introduce core services for in-kernel irqchip support, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 13/16] kvm: x86: Add user space part for in-kernel APIC, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 15/16] kvm: x86: Add user space part for in-kernel IOAPIC, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 08/16] ioapic: Reject non-dword accesses to IOWIN register, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 14/16] kvm: x86: Add user space part for in-kernel i8259, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 16/16] kvm: Arm in-kernel irqchip support, Jan Kiszka, 2011/12/06
- [Qemu-devel] [PATCH v3 03/16] apic: Stop timer on reset,
Jan Kiszka <=
- [Qemu-devel] [PATCH v3 06/16] i8259: Introduce backend/frontend infrastructure for KVM reuse, Jan Kiszka, 2011/12/06
- Re: [Qemu-devel] [PATCH v3 00/16] uq/master: Introduce basic irqchip support, Avi Kivity, 2011/12/06