From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: emulate lapic tsc deadline timer for guest Date: Thu, 22 Sep 2011 11:48:55 -0300 Message-ID: <20110922144855.GA11582@amt.cnet> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "Tian, Kevin" To: "Liu, Jinsong" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24813 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753216Ab1IVOul (ORCPT ); Thu, 22 Sep 2011 10:50:41 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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