|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend: move the call to XendDevices.destro
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1220434713 -3600
# Node ID 3e72ab517e44e81b9e1414595879e46df5150255
# Parent e2a8e3be7bfaf48734da741250ae5d87d8d69a64
xend: move the call to XendDevices.destroy_device_state()
This patch moves the call to XendDevices.destroy_device_state() to the
function _remove_domain. Previously only Xen-API calls were calling
the destroy_device_state() function.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
tools/python/xen/xend/XendDomain.py | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r e2a8e3be7bfa -r 3e72ab517e44 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py Tue Sep 02 12:06:56 2008 +0100
+++ b/tools/python/xen/xend/XendDomain.py Wed Sep 03 10:38:33 2008 +0100
@@ -481,6 +481,7 @@ 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.")
@@ -1094,7 +1095,6 @@ 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] xend: move the call to XendDevices.destroy_device_state(),
Xen patchbot-unstable <=
|
|
|
|
|