From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdA4F-0006n4-55 for qemu-devel@nongnu.org; Mon, 26 Nov 2012 20:34:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdA4E-0001Yl-7l for qemu-devel@nongnu.org; Mon, 26 Nov 2012 20:34:31 -0500 Received: from mail-da0-f45.google.com ([209.85.210.45]:46342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdA4D-0001YF-Vj for qemu-devel@nongnu.org; Mon, 26 Nov 2012 20:34:30 -0500 Received: by mail-da0-f45.google.com with SMTP id w4so2858287dam.4 for ; Mon, 26 Nov 2012 17:34:29 -0800 (PST) From: Will Auld Content-Type: text/plain; charset="UTF-8" Date: Mon, 26 Nov 2012 17:34:26 -0800 Message-ID: <1353980066.8162.2.camel@WillAuldHomeLinux> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH V4 0/2] Enable guest use of TSC_ADJUST functionality Reply-To: will.auld@intel.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel , Gleb , "mtosatti@redhat.com" , "kvm@vger.kernel.org" , "donald.d.dugger@intel.com" , "jinsong.liu@intel.com" , "xiantao.zhang@intel.com" , "will.auld@intel.com" , "avi@redhat.com" This reversion, V4, addresses a couple of issues I missed from Gleb and Marcelo. Thanks, Will Will Auld (2): Add code to track call origin for msr assignment. Enabling IA32_TSC_ADJUST for KVM guest VM support arch/x86/include/asm/cpufeature.h | 1 + arch/x86/include/asm/kvm_host.h | 15 ++++++++++--- arch/x86/include/asm/msr-index.h | 1 + arch/x86/kvm/cpuid.c | 2 ++ arch/x86/kvm/cpuid.h | 8 +++++++ arch/x86/kvm/svm.c | 28 ++++++++++++++++++------ arch/x86/kvm/vmx.c | 33 ++++++++++++++++++++++------ arch/x86/kvm/x86.c | 45 ++++++++++++++++++++++++++++++++------- arch/x86/kvm/x86.h | 2 +- 9 files changed, 110 insertions(+), 25 deletions(-) -- 1.8.0.rc0