qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 1/7] kvm/x86: Hyper-V timers fix incorrect logica


From: Andrey Smetanin
Subject: [Qemu-devel] [PATCH v2 1/7] kvm/x86: Hyper-V timers fix incorrect logical operation
Date: Mon, 28 Dec 2015 18:27:18 +0300

Signed-off-by: Andrey Smetanin <address@hidden>
Reviewed-by: Roman Kagan <address@hidden>
CC: Gleb Natapov <address@hidden>
CC: Paolo Bonzini <address@hidden>
CC: Roman Kagan <address@hidden>
CC: Denis V. Lunev <address@hidden>
CC: address@hidden

---
 arch/x86/kvm/hyperv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c
index f34f666..e4ef13a 100644
--- a/arch/x86/kvm/hyperv.c
+++ b/arch/x86/kvm/hyperv.c
@@ -583,7 +583,7 @@ static void stimer_expiration(struct kvm_vcpu_hv_stimer 
*stimer)
 {
        stimer_send_msg(stimer);
        if (!(stimer->config & HV_STIMER_PERIODIC))
-               stimer->config |= ~HV_STIMER_ENABLE;
+               stimer->config &= ~HV_STIMER_ENABLE;
        else
                stimer_restart(stimer);
 }
-- 
2.4.3




reply via email to

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