summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/hyperv.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-23 20:04:33 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-23 20:04:33 -0700
commit329f0a8a35a664fb33f58f10538f5440ee19c54e (patch)
tree270e7764e6fe54c982626bd2af294cedf4afbc5f /arch/x86/kvm/hyperv.c
parenta5fa2660d787d8416f426cd622778a5d8851ac36 (diff)
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff)
downloadlinux-329f0a8a35a664fb33f58f10538f5440ee19c54e.tar.gz
linux-329f0a8a35a664fb33f58f10538f5440ee19c54e.tar.bz2
linux-329f0a8a35a664fb33f58f10538f5440ee19c54e.zip
Merge 4.13-rc2 into tty-next
We want the tty/serial fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kvm/hyperv.c')
-rw-r--r--arch/x86/kvm/hyperv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c
index 2695a34fa1c5..337b6d2730fa 100644
--- a/arch/x86/kvm/hyperv.c
+++ b/arch/x86/kvm/hyperv.c
@@ -649,9 +649,10 @@ void kvm_hv_process_stimers(struct kvm_vcpu *vcpu)
}
if ((stimer->config & HV_STIMER_ENABLE) &&
- stimer->count)
- stimer_start(stimer);
- else
+ stimer->count) {
+ if (!stimer->msg_pending)
+ stimer_start(stimer);
+ } else
stimer_cleanup(stimer);
}
}