From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Lieven Subject: Re: [Qemu-devel] Re: disable clocksource=kvm-clock Date: Wed, 02 Jun 2010 11:58:20 +0200 Message-ID: <4C062B3C.2060407@dlh.net> References: <4C050743.3030603@dlh.net> <4C05087A.9090803@redhat.com> <4C0511BC.7080803@dlh.net> <4C0512AA.6060906@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from zion.dlh.net ([91.198.192.1]:59710 "EHLO mail.dlh.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755023Ab0FBJ6h (ORCPT ); Wed, 2 Jun 2010 05:58:37 -0400 In-Reply-To: <4C0512AA.6060906@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > On 06/01/2010 04:57 PM, Peter Lieven wrote: >> Avi Kivity wrote: >>> On 06/01/2010 04:12 PM, Peter Lieven wrote: >>>> hi, >>>> >>>> is it possible to avoid detection of clocksource=kvm_clock in a >>>> linux guest by >>>> patching the qemu-kvm binary? >>>> i would like to be able to avoid a guest detecting kvm-clock until >>>> bug #584516 >>>> is fixed without modifying all guest systems and reverting that later. >>>> >>> >>> Newer qemu-kvm's will have this feature (using -cpu ...,-kvmclock). >>> >> with latest git, i can supply this switch, but >> >> cat /sys/devices/system/clocksource/clocksource0/current_clocksource >> >> still shows kvm_clock in an opensuse 11.2 64-bit or an ubuntu 10.04 >> 64-bit guest. > > Try again with tomorrow's git, I sent out a patchset earlier today > that fixes this. > i don't see it in the git, do you mean: [PATCH 0/5] Use more cpuid bits from upstream thanks, peter