Skip to content

maintaining of kvm_clock stability on guest vCPU hotplug

Denis Plotnikov kvm 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 1 replyIn review
  2. v2 posting 1/22 patches 0 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: x86: remaster kvm_write_tsc codearch/x86/kvm/x86.c+13 -390 replies
2/2KVM: x86: fix maintaining of kvm_clock stability on guest CPU hotplugarch/x86/kvm/x86.c+19 -100 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRoman Kagan
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
1.8.3.1