kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] KVM: Hyper-V SynIC timers migration fixes
@ 2015-12-28 15:27 Andrey Smetanin
  2015-12-28 15:27 ` [PATCH v2 1/7] kvm/x86: Hyper-V timers fix incorrect logical operation Andrey Smetanin
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Andrey Smetanin @ 2015-12-28 15:27 UTC (permalink / raw)
  To: kvm; +Cc: Gleb Natapov, Paolo Bonzini, Roman Kagan, Denis V. Lunev,
	qemu-devel

During testing of Windows 2012R2 guest migration with
Hyper-V SynIC timers enabled we found several bugs
which lead to restoring guest in a hung state.

This patch series provides several fixes to make the
migration of guest with Hyper-V SynIC timers enabled
succeed.

The series applies on top of
'kvm/x86: Remove Hyper-V SynIC timer stopping'
previously sent.

Changes v2:
* fix incorrect logical operation for one-shot timers
* drop stimer->count == 0 inside stimer_start()
* comment stimer_start() assumtions

Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
CC: Gleb Natapov <gleb@kernel.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Roman Kagan <rkagan@virtuozzo.com>
CC: Denis V. Lunev <den@openvz.org>
CC: qemu-devel@nongnu.org

Andrey Smetanin (7):
  kvm/x86: Hyper-V timers fix incorrect logical operation
  kvm/x86: Drop stimer_stop() function
  kvm/x86: Hyper-V unify stimer_start() and stimer_restart()
  kvm/x86: Reorg stimer_expiration() to better control timer restart
  kvm/x86: Hyper-V fix SynIC timer disabling condition
  kvm/x86: Skip SynIC vector check for QEMU side
  kvm/x86: Update SynIC timers on guest entry only

 arch/x86/kvm/hyperv.c | 119 ++++++++++++++++++++++++--------------------------
 arch/x86/kvm/x86.c    |   6 +++
 2 files changed, 63 insertions(+), 62 deletions(-)

-- 
2.4.3


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-01-07 20:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-28 15:27 [PATCH v2 0/7] KVM: Hyper-V SynIC timers migration fixes Andrey Smetanin
2015-12-28 15:27 ` [PATCH v2 1/7] kvm/x86: Hyper-V timers fix incorrect logical operation Andrey Smetanin
2015-12-28 15:27 ` [PATCH v2 2/7] kvm/x86: Drop stimer_stop() function Andrey Smetanin
2015-12-28 15:27 ` [PATCH v2 3/7] kvm/x86: Hyper-V unify stimer_start() and stimer_restart() Andrey Smetanin
2016-01-07 16:40   ` Paolo Bonzini
2016-01-07 20:15     ` Andrey Smetanin
2015-12-28 15:27 ` [PATCH v2 4/7] kvm/x86: Reorg stimer_expiration() to better control timer restart Andrey Smetanin
2015-12-28 15:27 ` [PATCH v2 5/7] kvm/x86: Hyper-V fix SynIC timer disabling condition Andrey Smetanin
2015-12-28 15:27 ` [PATCH v2 6/7] kvm/x86: Skip SynIC vector check for QEMU side Andrey Smetanin
2015-12-28 15:27 ` [PATCH v2 7/7] kvm/x86: Update SynIC timers on guest entry only Andrey Smetanin
2016-01-07 16:42 ` [PATCH v2 0/7] KVM: Hyper-V SynIC timers migration fixes Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).