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

[Xen-changelog] [xen-3.0.5-testing] acm: Move acm_domain_destroy() hook to complete_domain_destroy().



# 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


 


Rackspace

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