ia64/xen-unstable

changeset 18457:bdf648aaa70c

Revert 18415:3e72ab517e44 (xend: move the call to XendDevices.destroy_device_state())

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Sep 09 14:45:23 2008 +0100 (2008-09-09)
parents dbac9ee4d761
children d57e9b29858b
files tools/python/xen/xend/XendDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Mon Sep 08 16:02:13 2008 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Tue Sep 09 14:45:23 2008 +0100
     1.3 @@ -481,7 +481,6 @@ class XendDomain:
     1.4              if domid in self.domains:
     1.5                  del self.domains[domid]
     1.6  
     1.7 -            XendDevices.destroy_device_state(info)
     1.8              info.destroy_xapi_device_instances()
     1.9          else:
    1.10              log.warning("Attempted to remove non-existent domain.")
    1.11 @@ -1095,6 +1094,7 @@ class XendDomain:
    1.12          dominfo.metrics.destroy()
    1.13          self._managed_domain_unregister(dominfo)
    1.14          self._remove_domain(dominfo)
    1.15 +        XendDevices.destroy_device_state(dominfo)
    1.16          dominfo.destroy_xapi_device_instances()
    1.17  
    1.18