From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: kvm tools: clock sources for hrtimer Date: Wed, 09 Nov 2011 16:49:51 +0200 Message-ID: <1320850191.31056.64.camel@lappy> References: <737697ff491a47a25b620f0fca60bb07@radon2.swed.at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: penberg@cs.helsinki.fi, kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com To: Richard Weinberger Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:40570 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751399Ab1KIOvn (ORCPT ); Wed, 9 Nov 2011 09:51:43 -0500 Received: by faan17 with SMTP id n17so1705532faa.19 for ; Wed, 09 Nov 2011 06:51:42 -0800 (PST) In-Reply-To: <737697ff491a47a25b620f0fca60bb07@radon2.swed.at> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2011-11-09 at 16:27 +0200, Richard Weinberger wrote: > Hi! > > Is there any way to have high resolution clock sources? > Currently the native kvm tool seems to support only jiffies: > $ cat > /sys/devices/system/clocksource/clocksource0/available_clocksource > jiffies > > Using qemu-kvm with the same kernel/host I can use tsc, hpet, acpi_pm. > > Thanks, > //richard > We'll do kvm_clock as well if you compile it in the kernel. I don't think that using a non-pv clocksource in a guest will do you much good either. -- Sasha.