From: Zachary Amsden Subject: Re: [PATCH] KVM: SVM: Adjust tsc_offset only if tsc_unstable Date: Mon, 14 Dec 2009 17:38:26 -1000 Message-ID: <4B2704B2.10709@redhat.com> References: <1260789740-14847-1-git-send-email-joerg.roedel@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Marcelo Tosatti , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Joerg Roedel Return-path: Received: from mx1.redhat.com ([209.132.183.28]:2505 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1749667AbZLODg1 (ORCPT ); Mon, 14 Dec 2009 22:36:27 -0500 In-Reply-To: <1260789740-14847-1-git-send-email-joerg.roedel@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: On 12/14/2009 01:22 AM, Joerg Roedel wrote: > The tsc_offset adjustment in svm_vcpu_load is executed > unconditionally even if Linux considers the host tsc as > stable. This causes a Linux guest detecting an unstable tsc > in any case. > This patch removes the tsc_offset adjustment if the host tsc > is stable. The guest will now get the benefit of a stable > tsc too. > > Hi Joerg, I have a much more comprehensive series of patches to address this issue, please take a look. Thanks, Zach