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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html