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] Revert 18415:3e72ab517e44 (xend: move the

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Revert 18415:3e72ab517e44 (xend: move the call to XendDevices.destroy_device_state())
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Sep 2008 06:00:17 -0700
Delivery-date: Tue, 16 Sep 2008 06:00:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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.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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Revert 18415:3e72ab517e44 (xend: move the call to XendDevices.destroy_device_state()), Xen patchbot-unstable <=