|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.2-testing] vmx: msr_bitmap/msr_area/msr_host_area
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213870557 -3600
# Node ID 58bf50a2c75467aaf3d1d789f28a4d070f69905e
# Parent 3d113bfab7d2ffa52fb6891b3346f0af9859979f
vmx: msr_bitmap/msr_area/msr_host_area must be freed when a vcpu is destroyed
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset: 17879:3da148fb7d9b21afd6a8c023a8e787aec86d1621
xen-unstable date: Thu Jun 19 11:09:10 2008 +0100
---
xen/arch/x86/hvm/vmx/vmcs.c | 7 +++++++
1 files changed, 7 insertions(+)
diff -r 3d113bfab7d2 -r 58bf50a2c754 xen/arch/x86/hvm/vmx/vmcs.c
--- a/xen/arch/x86/hvm/vmx/vmcs.c Tue Jun 17 11:16:14 2008 +0100
+++ b/xen/arch/x86/hvm/vmx/vmcs.c Thu Jun 19 11:15:57 2008 +0100
@@ -748,6 +748,13 @@ void vmx_destroy_vmcs(struct vcpu *v)
vmx_free_vmcs(arch_vmx->vmcs);
arch_vmx->vmcs = NULL;
+
+ free_xenheap_page(v->arch.hvm_vmx.host_msr_area);
+ v->arch.hvm_vmx.host_msr_area = NULL;
+ free_xenheap_page(v->arch.hvm_vmx.msr_area);
+ v->arch.hvm_vmx.msr_area = NULL;
+ free_xenheap_page(v->arch.hvm_vmx.msr_bitmap);
+ v->arch.hvm_vmx.msr_bitmap = NULL;
}
void vm_launch_fail(unsigned long eflags)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-3.2-testing] vmx: msr_bitmap/msr_area/msr_host_area must be freed when a vcpu is destroyed,
Xen patchbot-3.2-testing <=
|
|
|
|
|