maintaining of kvm_clock stability on guest vCPU hotplug
A message that is not in the archive (sent off-list or not yet received): [email protected]
ping
Quoted 14 lines · Denis Plotnikov
It was found, that after adding a new vCPU to a running VM (CPU hotplug)
kvm_clocklost 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: remasterkvm_write_tsccode
KVM: x86: fix maintaining ofkvm_clockstability on guest CPU hotplugarch/x86/kvm/x86.c | 59 ++++++++++++++++++------------------------------------ 1 file changed, 20 insertions(+), 39 deletions(-)
Signature · 2 lines
Best, Denis
2017-04-05 11:56+0300, Denis Plotnikov:
Quoted 1 line
ping
Please re-send the series, I don't have it in mailbox and web-archives don't show it either,
thanks.
Quoted 6 lines · Denis Plotnikov
Quoted 5 lines
It was found, that after adding a new vCPU to a running VM (CPU hotplug)
kvm_clocklost 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.
Right, it looks like an incarnation of the deep problem where the kvm clock with masterclock diverges from host (different frequency), so any case where the masterclock is synchronized results in time shifts in the guest.
Quoted 12 lines
Quoted 8 lines
Denis Plotnikov (2):
KVM: x86: remasterkvm_write_tsccode
KVM: x86: fix maintaining ofkvm_clockstability on guest CPU hotplugarch/x86/kvm/x86.c | 59 ++++++++++++++++++------------------------------------ 1 file changed, 20 insertions(+), 39 deletions(-)Signature · 2 lines
Best, Denis