From: Joerg Roedel Subject: [PATCH 0/6] TSC scaling support for KVM v3 Date: Fri, 25 Mar 2011 09:44:45 +0100 Message-ID: <1301042691-22929-1-git-send-email-joerg.roedel@amd.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Zachary Amsden , To: Avi Kivity , Marcelo Tosatti Return-path: Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:51879 "EHLO TX2EHSOBE005.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933989Ab1CYIqY (ORCPT ); Fri, 25 Mar 2011 04:46:24 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Hi, this is the third round of my patches to support tsc-scaling in KVM. The changes to v2 address Avi's comments from yesterday. Besides that the whole virtual_tsc_khz thing has been moved out of the vm into the vcpu data structure. The mult and shift parts where renamed to tsc_catchup_* because this is their actual use (and because the handling of virtual_tsc_khz has changed so that is made sense to seperate them). Comments and feedback (or merging) appreciated :-) Regards, Joerg Diffstat: Documentation/kvm/api.txt | 23 ++++++++ arch/x86/include/asm/kvm_host.h | 16 ++++- arch/x86/include/asm/msr-index.h | 1 + arch/x86/kvm/svm.c | 117 +++++++++++++++++++++++++++++++++++++- arch/x86/kvm/vmx.c | 17 ++++++ arch/x86/kvm/x86.c | 79 ++++++++++++++++++++------ include/linux/kvm.h | 5 ++ 7 files changed, 237 insertions(+), 21 deletions(-) Shortlog: Joerg Roedel (6): KVM: SVM: Implement infrastructure for TSC_RATE_MSR KVM: X86: Let kvm-clock report the right tsc frequency KVM: X86: Make tsc_delta calculation a function of guest tsc KVM: X86: Implement call-back to propagate virtual_tsc_khz KVM: X86: Delegate tsc-offset calculation to architecture code KVM: X86: Implement userspace interface to set virtual_tsc_khz