From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6kbq-00022X-Ka for qemu-devel@nongnu.org; Thu, 22 Sep 2011 10:50:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6kbp-00062u-DH for qemu-devel@nongnu.org; Thu, 22 Sep 2011 10:50:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6kbp-00062q-6L for qemu-devel@nongnu.org; Thu, 22 Sep 2011 10:50:41 -0400 Date: Thu, 22 Sep 2011 11:48:55 -0300 From: Marcelo Tosatti Message-ID: <20110922144855.GA11582@amt.cnet> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] KVM: emulate lapic tsc deadline timer for guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Liu, Jinsong" Cc: "Tian, Kevin" , Avi Kivity , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" On Thu, Sep 22, 2011 at 04:55:52PM +0800, Liu, Jinsong wrote: > >From 4d5b83aba40ce0d421add9a41a6c591a8590a32e Mon Sep 17 00:00:00 2001 > From: Liu, Jinsong > Date: Thu, 22 Sep 2011 14:00:08 +0800 > Subject: [PATCH 2/2] KVM: emulate lapic tsc deadline timer for guest > > This patch emulate lapic tsc deadline timer for guest: > Enumerate tsc deadline timer capability by CPUID; > Enable tsc deadline timer mode by lapic MMIO; > Start tsc deadline timer by WRMSR; > > Signed-off-by: Liu, Jinsong > --- > arch/x86/include/asm/kvm_host.h | 2 + > arch/x86/kvm/kvm_timer.h | 2 + > arch/x86/kvm/lapic.c | 123 ++++++++++++++++++++++++++++++++------- > arch/x86/kvm/lapic.h | 3 + > arch/x86/kvm/x86.c | 16 +++++- > 5 files changed, 123 insertions(+), 23 deletions(-) Looks good, please rebase against branch master of git://github.com/avikivity/kvm.git