From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Auld Subject: [PATCH V5 0/2] Enable guest use of TSC_ADJUST functionality Date: Tue, 27 Nov 2012 11:07:16 -0800 Message-ID: <1354043236.4613.4.camel@WillAuldHomeLinux> Reply-To: will.auld@intel.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit To: "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" , qemu-devel , Gleb Return-path: Received: from mail-pb0-f66.google.com ([209.85.160.66]:59759 "EHLO mail-pb0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753217Ab2K0THT (ORCPT ); Tue, 27 Nov 2012 14:07:19 -0500 Received: by mail-pb0-f66.google.com with SMTP id wz17so13052707pbc.1 for ; Tue, 27 Nov 2012 11:07:19 -0800 (PST) Sender: kvm-owner@vger.kernel.org List-ID: With this version (V5) I have gone back the the V3 implementation of emulator_set_msr() but changing the bool to false. 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 | 49 ++++++++++++++++++++++++++++++++------- arch/x86/kvm/x86.h | 2 +- 9 files changed, 114 insertions(+), 25 deletions(-) -- 1.8.0.rc0