projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b41dfb2
)
x86: Fix a typo in vpmu_core2.c
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 12 Mar 2009 11:26:32 +0000
(11:26 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 12 Mar 2009 11:26:32 +0000
(11:26 +0000)
When the HVM guest which is xenoprof's passive domain, is going to
shutdown, the Hypervisor panics because of typo in vpmu_core2.c
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
xen/arch/x86/hvm/vmx/vpmu_core2.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/vmx/vpmu_core2.c
b/xen/arch/x86/hvm/vmx/vpmu_core2.c
index ff1783b2c01ca52b214d54377fb3484c40ea349c..240f1bf7baedccb74f7f18fd5fa4b34decc3ebe1 100644
(file)
--- a/
xen/arch/x86/hvm/vmx/vpmu_core2.c
+++ b/
xen/arch/x86/hvm/vmx/vpmu_core2.c
@@
-481,7
+481,7
@@
static void core2_vpmu_destroy(struct vcpu *v)
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);