|
|
|
|
|
|
|
|
|
|
xen-devel
[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@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] missing vtsc counter for hvm guests,
Dan Magenheimer <=
|
|
|
|
|