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

[Xen-changelog] [xen-unstable] [IA64] avoid freeing arch.privregs twice



# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Node ID 1cfd862e5254fa7c9614035035586a3f182a530f
# Parent  c650fe6d56f63a412432b3bccd5842dfe70a78a3
[IA64] avoid freeing arch.privregs twice

Not sure how this worked before, but mapping vcpu regs into
guest pseudo phys space causes extra problems.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/dom0_ops.c |    1 +
 1 files changed, 1 insertion(+)

diff -r c650fe6d56f6 -r 1cfd862e5254 xen/arch/ia64/xen/dom0_ops.c
--- a/xen/arch/ia64/xen/dom0_ops.c      Fri Dec 08 09:32:15 2006 -0700
+++ b/xen/arch/ia64/xen/dom0_ops.c      Fri Dec 08 11:31:29 2006 -0700
@@ -109,6 +109,7 @@ long arch_do_domctl(xen_domctl_t *op, XE
                         BUG_ON(v->arch.privregs == NULL);
                         free_domheap_pages(virt_to_page(v->arch.privregs),
                                       get_order_from_shift(XMAPPEDREGS_SHIFT));
+                        v->arch.privregs = NULL;
                         relinquish_vcpu_resources(v);
                     }
                 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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