From: Paolo Bonzini Subject: Re: [PATCH RFC 0/6] x86/kvm/hyperv: stable clocksorce for L2 guests when running nested KVM on Hyper-V Date: Fri, 1 Dec 2017 17:11:24 +0100 Message-ID: References: <20171201131321.918-1-vkuznets@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Stephen Hemminger , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Haiyang Zhang , linux-kernel@vger.kernel.org, Ingo Molnar , Andy Lutomirski , "H. Peter Anvin" , devel@linuxdriverproject.org, Thomas Gleixner To: Vitaly Kuznetsov , kvm@vger.kernel.org, x86@kernel.org Return-path: In-Reply-To: <20171201131321.918-1-vkuznets@redhat.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" List-Id: kvm.vger.kernel.org On 01/12/2017 14:13, Vitaly Kuznetsov wrote: > Currently, KVM passes PVCLOCK_TSC_STABLE_BIT to its guests when running in > so called 'masterclock' mode and this is only possible when the clocksource > on the host is TSC. When running nested on Hyper-V we're using a different > clocksource in L1 (Hyper-V TSC Page) which can actually be used for > masterclock. This series brings the required support. > > Making KVM work with TSC page clocksource is relatively easy, it is done in > PATCH 5 of the series. All the rest is required to support L1 migration > when TSC frequency changes, we use a special feature from Hyper-V to do > the job. This looks great. If the Hyper-V folks can provide a topic branch with patches 1-4 in it, we can merge it. Thanks, Paolo