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

[Xen-devel] [PATCH] Fix a typo in vpmu_core2.c


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "SUZUKI, Kazuhiro" <kaz@xxxxxxxxxxxxxx>
  • Date: Thu, 12 Mar 2009 15:24:45 +0900 (JST)
  • Delivery-date: Wed, 11 Mar 2009 23:25:28 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

When the HVM guest which is xenoprof's passive domain, is going to
shutdown, the Hypervisor panics because of typo in vpmu_core2.c

This patch fixes it.

Thanks,
KAZ

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
diff -r a4274d1e85a3 xen/arch/x86/hvm/vmx/vpmu_core2.c
--- a/xen/arch/x86/hvm/vmx/vpmu_core2.c Wed Mar 11 13:11:21 2009 +0000
+++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c Thu Mar 12 12:56:52 2009 +0900
@@ -481,7 +481,7 @@
     struct vpmu_struct *vpmu = vcpu_vpmu(v);
     struct core2_vpmu_context *core2_vpmu_cxt = vpmu->context;
 
-    if ( !vpmu->flags & VPMU_CONTEXT_ALLOCATED )
+    if ( !(vpmu->flags & VPMU_CONTEXT_ALLOCATED) )
         return;
     xfree(core2_vpmu_cxt->pmu_enable);
     xfree(vpmu->context);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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