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

[Xen-changelog] [xen-unstable] [IA64] BUG() bad path during domain destruction



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 463658ccf683ec8b56734e830f57a795d727a099
# Parent  6cdd56dd79bcef72c9d6b52515a7c702f68ea0c1
[IA64] BUG() bad path during domain destruction

BUG out on badness due to SMP problems accessing the p2m table.  This
is temporary until we have a real fix.  To avoid this, do not use the
RX copy option (xennet.rx_copy).

Based on patch by: Tsunehisa Doi

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/mm.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 6cdd56dd79bc -r 463658ccf683 xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c    Sun Oct 22 13:57:29 2006 -0600
+++ b/xen/arch/ia64/xen/mm.c    Sun Oct 22 14:12:30 2006 -0600
@@ -399,11 +399,11 @@ gmfn_to_mfn_foreign(struct domain *d, un
        unsigned long pte;
 
        // This function may be called from __gnttab_copy()
-       // during destruction of VT-i domain with PV-on-HVM driver.
+       // during domain destruction with VNIF copy receiver.
        // ** FIXME: This is not SMP-safe yet about p2m table. **
        if (unlikely(d->arch.mm.pgd == NULL)) {
-               if (VMX_DOMAIN(d->vcpu[0]))
-                       return INVALID_MFN;
+               BUG();
+               return INVALID_MFN;
        }
        pte = lookup_domain_mpa(d,gpfn << PAGE_SHIFT, NULL);
        if (!pte) {

_______________________________________________
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®.