From mboxrd@z Thu Jan 1 00:00:00 1970 From: Denis Plotnikov Subject: [PATCH v2 0/2] maintaining of kvm_clock stability on guest vCPU hotplug Date: Fri, 7 Apr 2017 12:06:45 +0300 Message-ID: <1491556007-56332-1-git-send-email-dplotnikov@virtuozzo.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , , To: , , , Return-path: Received: from mail-ve1eur01on0092.outbound.protection.outlook.com ([104.47.1.92]:24096 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755120AbdDGJHF (ORCPT ); Fri, 7 Apr 2017 05:07:05 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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