From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54193 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJS7D-0001lK-Oz for qemu-devel@nongnu.org; Tue, 01 Jun 2010 10:07:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJS6y-0007Q0-0O for qemu-devel@nongnu.org; Tue, 01 Jun 2010 10:06:47 -0400 Received: from zion.dlh.net ([91.198.192.1]:56230 helo=mail.dlh.net) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJS6x-0007PQ-II for qemu-devel@nongnu.org; Tue, 01 Jun 2010 10:06:31 -0400 Message-ID: <4C0513DB.1080108@dlh.net> Date: Tue, 01 Jun 2010 16:06:19 +0200 From: Peter Lieven MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: disable clocksource=kvm-clock References: <4C050743.3030603@dlh.net> <4C05087A.9090803@redhat.com> <4C0511BC.7080803@dlh.net> <4C0512AA.6060906@redhat.com> In-Reply-To: <4C0512AA.6060906@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org 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. > avi, i do not know whats going on. but if i supply -cpu xxx,-kvmclock the guest still uses kvm-clock, but it seems bug #584516 is not triggered... thats weird... br, peter -- Mit freundlichen Grüßen/Kind Regards Peter Lieven .......................................................................................................... KAMP Netzwerkdienste GmbH Vestische Str. 89-91 | 46117 Oberhausen Tel: +49 (0) 208.89 402-50 | Fax: +49 (0) 208.89 402-40 mailto:pl@kamp.de | http://www.kamp.de Geschäftsführer: Heiner Lante | Michael Lante Amtsgericht Duisburg | HRB Nr. 12154 USt-Id-Nr.: DE 120607556 .........................................................................................................