From: Avi Kivity Subject: Re: [PATCH] KVM: SVM: Adjust tsc_offset only if tsc_unstable Date: Sun, 20 Dec 2009 11:59:51 +0200 Message-ID: <4B2DF597.6050106@redhat.com> References: <1260789740-14847-1-git-send-email-joerg.roedel@amd.com> <4B2704B2.10709@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Joerg Roedel , Marcelo Tosatti , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Zachary Amsden Return-path: In-Reply-To: <4B2704B2.10709@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 12/15/2009 05:38 AM, Zachary Amsden wrote: > 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. > Despite this, I've applied the patch to have this fix in while we review your patch set (haven't started yet, sorry - still recovering from nested vmx). -- error compiling committee.c: too many arguments to function