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:00:06 +0400 Message-ID: <20111109160006.GD608@moon> References: <737697ff491a47a25b620f0fca60bb07@radon2.swed.at> <1320850191.31056.64.camel@lappy> <294867a39da5124eee9a2c167f0f9c87@radon2.swed.at> <1320853793.31056.75.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Richard Weinberger , penberg@cs.helsinki.fi, kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com To: Sasha Levin Return-path: Received: from mail-bw0-f46.google.com ([209.85.214.46]:51245 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783Ab1KIQAL (ORCPT ); Wed, 9 Nov 2011 11:00:11 -0500 Received: by bke11 with SMTP id 11so1467823bke.19 for ; Wed, 09 Nov 2011 08:00:10 -0800 (PST) Content-Disposition: inline In-Reply-To: <1320853793.31056.75.camel@lappy> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Nov 09, 2011 at 05:49:53PM +0200, Sasha Levin wrote: > On Wed, 2011-11-09 at 17:42 +0200, Richard Weinberger wrote: > > On Wed, 09 Nov 2011 16:49:51 +0200, Sasha Levin > > wrote: > > > We'll do kvm_clock as well if you compile it in the kernel. > > > > CONFIG_HIGH_RES_TIMERS is on both host and guest kernels enabled. > > BTW: Why adds the kvm tool "notsc" to the guest's kernel command line? > > 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 ;) Cyrill