From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Auld Subject: [PATCH V3 0/2] Resend - IA32_TSC_ADJUST support for KVM Date: Mon, 26 Nov 2012 10:40:03 -0800 Message-ID: <1353955203.5725.5.camel@WillAuldHomeLinux> Reply-To: will.auld@intel.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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" Return-path: Received: from mail-pa0-f66.google.com ([209.85.220.66]:36485 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751334Ab2KZSkG (ORCPT ); Mon, 26 Nov 2012 13:40:06 -0500 Received: by mail-pa0-f66.google.com with SMTP id hz11so8739728pad.1 for ; Mon, 26 Nov 2012 10:40:06 -0800 (PST) Sender: kvm-owner@vger.kernel.org List-ID: Resending these as the mail seems to have not fully worked last Wed. Marcelo, I have addressed your comments for this patch set (V3), the following patch for QEMU-KVM and for adding a test case for tsc_adjust also to follow today. 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, 112 insertions(+), 23 deletions(-) -- 1.8.0.rc0