From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: kvm tools: clock sources for hrtimer Date: Wed, 9 Nov 2011 20:14:31 +0400 Message-ID: <20111109161431.GE608@moon> References: <737697ff491a47a25b620f0fca60bb07@radon2.swed.at> <1320850191.31056.64.camel@lappy> <294867a39da5124eee9a2c167f0f9c87@radon2.swed.at> <1320853793.31056.75.camel@lappy> <20111109160006.GD608@moon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Sasha Levin , Richard Weinberger , penberg@cs.helsinki.fi, kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:41420 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783Ab1KIQOg (ORCPT ); Wed, 9 Nov 2011 11:14:36 -0500 Received: by bke11 with SMTP id 11so1481128bke.19 for ; Wed, 09 Nov 2011 08:14:35 -0800 (PST) Content-Disposition: inline In-Reply-To: <20111109160006.GD608@moon> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Nov 09, 2011 at 08:00:06PM +0400, Cyrill Gorcunov wrote: ... > > > > You'll need CONFIG_KVM_CLOCK. > > > > I'm not actually sure how close our implementation is to having tsc > > working so far, Cyrill knows more about that than me. > > > > We dropped tsc while were debuggin timer interrupts and apic routing > setup, it might be not needed already. (Still to be fair I'm not sure > does kvm hypervisor has a control bit set for tsc and cause or not vm-exit). > > In short -- you could drop this from command line and tell us how it goes ;) > The history shows the following commit | commit 513fa5b4ccba8f9a2270a4f5262433071456540b | Author: Pekka Enberg | Date: Sun Apr 11 20:55:56 2010 +0300 | | kvm: Force 'notsc' and 'earlyprintk' kernel parameters | | We don't support TSC calibration properly and we want early printk so force | them as kernel parameters. | | Signed-off-by: Pekka Enberg and as far as I remember it's because we were stuck at apic calibration, but now we have an apic from kvm hypervisor so I think it's safe to drop it now (but still should be tested more widely). Cyrill