qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 3/6] kvm: qemu: revert "fix power management timer o


From: Anthony Liguori
Subject: [Qemu-devel] [PATCH 3/6] kvm: qemu: revert "fix power management timer overflow handling"
Date: Thu, 17 Jul 2008 16:19:37 -0500

From: Avi Kivity <address@hidden>

The fix is bogus, causing sci to be deferred for longer and longer.

Noticed by Alex Williamson.

Signed-off-by: Avi Kivity <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

diff --git a/hw/acpi.c b/hw/acpi.c
index c305702..e3cd8d7 100644
--- a/hw/acpi.c
+++ b/hw/acpi.c
@@ -109,7 +109,6 @@ static void pm_update_sci(PIIX4PMState *s)
     if ((s->pmen & TMROF_EN) && !(pmsts & TMROF_EN)) {
         expire_time = muldiv64(s->tmr_overflow_time, ticks_per_sec, PM_FREQ);
         qemu_mod_timer(s->tmr_timer, expire_time);
-        s->tmr_overflow_time += 0x800000;
     } else {
         qemu_del_timer(s->tmr_timer);
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]