[HVM] Remove bogus free of vlapic structure.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 8 Nov 2006 10:48:55 +0000 (10:48 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 8 Nov 2006 10:48:55 +0000 (10:48 +0000)
It is incorrect now that vlapic is embedded inside
the vcpu structure.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/vlapic.c

index 9f97a69839fdecddba2fab1ea600be7c8e42f58d..31f7d20aabfd41b8be1b33d77736ffd6a8227cea 100644 (file)
@@ -1026,5 +1026,4 @@ void vlapic_destroy(struct vcpu *v)
     kill_timer(&vlapic->vlapic_timer);
     unmap_domain_page_global(vlapic->regs);
     free_domheap_page(vlapic->regs_page);
-    xfree(vlapic);
 }