Re: [PATCH 13/17] Add TSC offset tracking

2010-06-15 Thread Avi Kivity
On 06/15/2010 10:34 AM, Zachary Amsden wrote: Track the last TSC offset set for each VM and ensure that the storing of the offset and the reading of the TSC are never preempted by taking a spinlock. Totally missing the point - tsc is per vcpu, why do we need per-vm tracking? -- error comp

[PATCH 13/17] Add TSC offset tracking

2010-06-15 Thread Zachary Amsden
Track the last TSC offset set for each VM and ensure that the storing of the offset and the reading of the TSC are never preempted by taking a spinlock. Signed-off-by: Zachary Amsden --- arch/x86/include/asm/kvm_host.h |6 +- arch/x86/kvm/svm.c | 30 +--