From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdQVA-0005VL-RA for qemu-devel@nongnu.org; Tue, 27 Nov 2012 14:07:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdQV6-0004PM-PJ for qemu-devel@nongnu.org; Tue, 27 Nov 2012 14:07:24 -0500 Received: from mail-pa0-f67.google.com ([209.85.220.67]:35879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdQV6-0004Oz-Gv for qemu-devel@nongnu.org; Tue, 27 Nov 2012 14:07:20 -0500 Received: by mail-pa0-f67.google.com with SMTP id fb11so5310432pad.10 for ; Tue, 27 Nov 2012 11:07:19 -0800 (PST) From: Will Auld Content-Type: text/plain; charset="UTF-8" Date: Tue, 27 Nov 2012 11:07:16 -0800 Message-ID: <1354043236.4613.4.camel@WillAuldHomeLinux> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH V5 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: "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 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