Re: [PATCH v2 0/7] Pvclock fixes , version two

From: Zachary Amsden
Date: Tue May 04 2010 - 23:57:30 EST


On 05/03/2010 05:52 AM, Glauber Costa wrote:
Here is a new version of this series.

I am definitely leaving any warp calculations out, as Jeremy wisely
points out that Chuck Norris should perish before we warp.

Also, in this series, I am using KVM_GET_SUPPORTED_CPUID to export
our features to userspace, as avi suggets. (patch 4/7), and starting
to use the flag that indicates possible tsc stability (patch 7/7), although
it is still off by default.

Glauber Costa (7):
Enable pvclock flags in vcpu_time_info structure
Add a global synchronization point for pvclock
change msr numbers for kvmclock
export paravirtual cpuid flags in KVM_GET_SUPPORTED_CPUID
Try using new kvm clock msrs
don't compute pvclock adjustments if we trust the tsc
Tell the guest we'll warn it about tsc stability

arch/x86/include/asm/kvm_para.h | 13 ++++++++
arch/x86/include/asm/pvclock-abi.h | 4 ++-
arch/x86/include/asm/pvclock.h | 1 +
arch/x86/kernel/kvmclock.c | 56 ++++++++++++++++++++++-------------
arch/x86/kernel/pvclock.c | 37 +++++++++++++++++++++++
arch/x86/kvm/x86.c | 37 +++++++++++++++++++++++-
6 files changed, 125 insertions(+), 23 deletions(-)

Acked-by: Zachary Amsden <zamsden@xxxxxxxxxx>

I'll rebase on top of these if they get pulled.

And obviously, there is no point in checking for warp if Chuck Norris has perished. I happen to have a special place in my heart for nunchaku masters despite the fact that this created a generation of teenagers who insisted they were called numb-chucks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/