WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] acm: Move acm_domain_destroy() hook to co

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] acm: Move acm_domain_destroy() hook to complete_domain_destroy().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Apr 2007 18:30:17 -0700
Delivery-date: Tue, 24 Apr 2007 18:29:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1177447481 -3600
# Node ID fcf5a7ff0c532cb7f048f610d9933ca210d5df10
# Parent  d0ebd5588b28ac09dd49ec9f126212d801f92059
acm: Move acm_domain_destroy() hook to complete_domain_destroy().
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/common/domain.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r d0ebd5588b28 -r fcf5a7ff0c53 xen/common/domain.c
--- a/xen/common/domain.c       Tue Apr 24 21:42:08 2007 +0100
+++ b/xen/common/domain.c       Tue Apr 24 21:44:41 2007 +0100
@@ -321,7 +321,6 @@ void domain_kill(struct domain *d)
         return;
     }
 
-    acm_domain_destroy(d);
     gnttab_release_mappings(d);
     domain_relinquish_resources(d);
     put_domain(d);
@@ -472,6 +471,8 @@ static void complete_domain_destroy(stru
 static void complete_domain_destroy(struct rcu_head *head)
 {
     struct domain *d = container_of(head, struct domain, rcu);
+
+    acm_domain_destroy(d);
 
     rangeset_domain_destroy(d);
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] acm: Move acm_domain_destroy() hook to complete_domain_destroy()., Xen patchbot-unstable <=