From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Auld Subject: [PATCH V4 0/2] Enable guest use of TSC_ADJUST functionality Date: Mon, 26 Nov 2012 17:34:26 -0800 Message-ID: <1353980066.8162.2.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org 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