From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/6] KVM: In kernel pit model Date: Fri, 07 Mar 2008 10:53:40 +0200 Message-ID: <47D10294.5050400@qumranet.com> References: <200803041822.44757.sheng.yang@intel.com> <200803061643.18955.sheng.yang@intel.com> <200803061741.03249.sheng.yang@intel.com> <200803071612.12182.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net To: "Yang, Sheng" Return-path: In-Reply-To: <200803071612.12182.sheng.yang@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Yang, Sheng wrote: > Found more complex for KVM. Xen pulled pm timer down to kernel part, and used > the guest TSC as source. So only adjust TSC is OK for it. But we are still > using pm timer in QEmu, which using host time as source. So even we pull back > TSC, the problem still exists, for 2.6.9 prefer to pm timer by default Interesting. I guess we should pull the pm timer into the kernel as well. Timing is too tricky for userspace. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/