From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Auld Subject: [PATCH 0/2] Resend V2 of patch set to enable guest use of TSC_ADJUST functionality Date: Thu, 15 Nov 2012 12:24:31 -0800 Message-ID: <1353011071.918.10.camel@WillAuldHomeLinux> Reply-To: will.auld@intel.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: "will.auld@intel.com" To: gleb@redhat.com, mtosatti@redhat.com, "xiantao.zhang@intel.com" , "jinsong.liu@intel.com" , "will.auld@intel.com" , "avi@redhat.com" , "kvm@vger.kernel.org" , "donald.d.dugger@intel.com" Return-path: Received: from mail-da0-f46.google.com ([209.85.210.46]:34950 "EHLO mail-da0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1768953Ab2KOUYe (ORCPT ); Thu, 15 Nov 2012 15:24:34 -0500 Received: by mail-da0-f46.google.com with SMTP id n41so814765dak.19 for ; Thu, 15 Nov 2012 12:24:33 -0800 (PST) Sender: kvm-owner@vger.kernel.org List-ID: Adding Gleb. This is a resend of the patches for TSC_ADJUST functionality. The two KVM patches and an additional QEMU-KVM patch together provide this support. 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 | 16 ++++++++++++--- arch/x86/include/asm/msr-index.h | 1 + arch/x86/kvm/cpuid.c | 4 ++++ arch/x86/kvm/svm.c | 27 ++++++++++++++++++++------ arch/x86/kvm/vmx.c | 41 ++++++++++++++++++++++++++++++++------- arch/x86/kvm/x86.c | 40 ++++++++++++++++++++++++++++++++------ arch/x86/kvm/x86.h | 2 +- 8 files changed, 109 insertions(+), 23 deletions(-) -- 1.8.0.rc0