[PATCH v2 0/2] maintaining of kvm_clock stability on guest vCPU hotplug

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

 



new in v2:
  - fix possible wraparound on the synchronization detection
  - lines exceeding 80 chars are re-formatted
  - excess parentheses are removed

======================

It was found, that after adding a new vCPU to a running VM (CPU hotplug)
kvm_clock lost the stability property in case of using it. This happened
because KVM didn't treated cpu hotplug as a special case of TSC
synchronization.
This patch series adds cpu hotplug to the TSC synchronization cases.

Denis Plotnikov (2):
  KVM: x86: remaster kvm_write_tsc code
  KVM: x86: fix maintaining of kvm_clock stability on guest CPU hotplug

 arch/x86/kvm/x86.c | 61 ++++++++++++++++++++----------------------------------
 1 file changed, 22 insertions(+), 39 deletions(-)

-- 
1.8.3.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux