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

[Xen-changelog] [xen-unstable] Revert 18415:3e72ab517e44 (xend: move the call to XendDevices.destroy_device_state())



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1220967923 -3600
# Node ID bdf648aaa70c566081f0b9d3c5818bbf727d759d
# Parent  dbac9ee4d7615a4ee5891428ba28ce1bb94f837b
Revert 18415:3e72ab517e44 (xend: move the call to 
XendDevices.destroy_device_state())

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/python/xen/xend/XendDomain.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r dbac9ee4d761 -r bdf648aaa70c tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       Mon Sep 08 16:02:13 2008 +0100
+++ b/tools/python/xen/xend/XendDomain.py       Tue Sep 09 14:45:23 2008 +0100
@@ -481,7 +481,6 @@ class XendDomain:
             if domid in self.domains:
                 del self.domains[domid]
 
-            XendDevices.destroy_device_state(info)
             info.destroy_xapi_device_instances()
         else:
             log.warning("Attempted to remove non-existent domain.")
@@ -1095,6 +1094,7 @@ class XendDomain:
         dominfo.metrics.destroy()
         self._managed_domain_unregister(dominfo)
         self._remove_domain(dominfo)
+        XendDevices.destroy_device_state(dominfo)
         dominfo.destroy_xapi_device_instances()
 
 

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