This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[XenPPC] [xenppc-unstable] [POWERPC] fix domain destruction after RMA al

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [POWERPC] fix domain destruction after RMA allocation patch
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Aug 2006 23:40:31 +0000
Delivery-date: Mon, 28 Aug 2006 16:48:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID f05a3e9d3e8f67a47afe4f528084d87c2e9d07ce
# Parent  a906930d3c20d0145f86ac34c96534899c481cda
[POWERPC] fix domain destruction after RMA allocation patch
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
 xen/arch/powerpc/dom0_ops.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r a906930d3c20 -r f05a3e9d3e8f xen/arch/powerpc/dom0_ops.c
--- a/xen/arch/powerpc/dom0_ops.c       Mon Aug 28 18:13:38 2006 -0500
+++ b/xen/arch/powerpc/dom0_ops.c       Mon Aug 28 18:35:29 2006 -0500
@@ -121,7 +121,8 @@ long arch_do_dom0_op(struct dom0_op *op,
         if (!cpu_rma_valid(log))
             return -EINVAL;
-        return allocate_rma(d, log - PAGE_SHIFT);
+        ret = allocate_rma(d, log - PAGE_SHIFT);
+        put_domain(d);

Xen-ppc-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [POWERPC] fix domain destruction after RMA allocation patch, Xen patchbot-xenppc-unstable <=