From mboxrd@z Thu Jan 1 00:00:00 1970 From: Faidon Liambotis Subject: Re: porting fixes regarding kvm-clock and lost irqs to stable qemu-kvm 0.12.4 Date: Sun, 06 Jun 2010 17:53:34 +0300 Message-ID: <4C0BB66E.5090007@debian.org> References: <4C06751A.4080507@dlh.net> <20100604153102.GB11087@amt.cnet> <17DE5732-EDBF-4C7B-9C45-6BF66F200911@dlh.net> <4C09A9BF.8090107@debian.org> <7A6F5B41-DAE6-4D4E-8D3A-28147BB5BE78@dlh.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , Avi Kivity , Anthony Liguori , "kvm@vger.kernel.org" To: Peter Lieven Return-path: Received: from solitude.tty.gr ([95.154.208.37]:40651 "EHLO mx.tty.gr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754636Ab0FFPe7 (ORCPT ); Sun, 6 Jun 2010 11:34:59 -0400 In-Reply-To: <7A6F5B41-DAE6-4D4E-8D3A-28147BB5BE78@dlh.net> Sender: kvm-owner@vger.kernel.org List-ID: Peter Lieven wrote: >>> i was looking for a generic way to disable it in the hypervisor >>> without the need to touch every guests kernel commandline. >>> this would be easy revertible once its all working as expected. >> This is a huge hack but for the same reason I've made an LD_PRELOAD >> wrapper that wraps ioctl masking the hsot kernel's kvmclock feature from >> userspace kvm. I'll be happy to share it if you're interested. > > i would be grateful if you can sent it to me offlist. http://people.debian.org/~paravoid/kvm-noclock-3.tar.gz > however, i came up with this hack, > that seems to work also: Yes, that's equivalent. We didn't use that since we wanted to use our distribution's binaries and be able to upgrade without modifying the source. Regards, Faidon