[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] hvm, vtsc: missing vtsc counter for hvm guests



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1254897306 -3600
# Node ID b7d4d51b5cf1a1abea30416bffaaa54483b21c45
# Parent  ff079db21e8d49e9e15083d72a8ac6f6e37bc62d
hvm, vtsc: 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@xxxxxxxxxx>
---
 xen/arch/x86/hvm/hvm.c |    1 +
 1 files changed, 1 insertion(+)

diff -r ff079db21e8d -r b7d4d51b5cf1 xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Wed Oct 07 07:21:31 2009 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Wed Oct 07 07:35:06 2009 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.