|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend: fix dual destroy
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216990703 -3600
# Node ID ddea9c73ea7848f6b2d366606148e7610255c5b8
# Parent a7642acd9caf44f83fa7ab0348246db3f91b6afb
xend: fix dual destroy
After changeset 18030 and 18064 were checked in, I found some issues
when creating HVM domains with devices assigned.
Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 3 +++
1 files changed, 3 insertions(+)
diff -r a7642acd9caf -r ddea9c73ea78 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Fri Jul 25 10:06:53 2008 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py Fri Jul 25 13:58:23 2008 +0100
@@ -2374,6 +2374,9 @@ class XendDomainInfo:
def destroy(self):
"""Cleanup VM and destroy domain. Nothrow guarantee."""
+ if self.domid is None:
+ return
+
log.debug("XendDomainInfo.destroy: domid=%s", str(self.domid))
paths = self._prepare_phantom_paths()
_______________________________________________
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: fix dual destroy,
Xen patchbot-unstable <=
|
|
|
|
|