Dan Magenheimer
2009-Oct-06 23:55 UTC
[Xen-devel] [PATCH] missing vtsc counter for hvm guests
This counter line got dropped somewhere along the way. Confused me a bit because the count was always being reported as 0. Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> diff -r 10cfcbef68ee xen/arch/x86/hvm/hvm.c --- a/xen/arch/x86/hvm/hvm.c Tue Oct 06 10:11:53 2009 +0100 +++ b/xen/arch/x86/hvm/hvm.c Tue Oct 06 17:51:26 2009 -0600 @@ -202,6 +202,7 @@ u64 hvm_get_guest_tsc(struct vcpu *v) if ( v->domain->arch.vtsc ) { tsc = hvm_get_guest_time(v); + v->domain->arch.vtsc_kerncount++; } else { _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel