projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc4e60
)
[XEND] Fix HVM image shutdown.
author
Alastair Tse
<atse@xensource.com>
Fri, 3 Nov 2006 15:15:16 +0000
(15:15 +0000)
committer
Alastair Tse
<atse@xensource.com>
Fri, 3 Nov 2006 15:15:16 +0000
(15:15 +0000)
Missed HVM image creation's hook into XendDomainInfo.
Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/image.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/image.py
b/tools/python/xen/xend/image.py
index 44d36210a8b7b6264eb558de8f85350f3b8bfb5f..c264fb669e22e561b46feadd45273ad73a711471 100644
(file)
--- a/
tools/python/xen/xend/image.py
+++ b/
tools/python/xen/xend/image.py
@@
-460,8
+460,8
@@
class HVMImageHandler(ImageHandler):
reason = vm._readDom('control/shutdown')
log.debug("hvm_shutdown fired, shutdown reason=%s", reason)
- for x in
shutdown_reasons
.keys():
- if
shutdown_reasons
[x] == reason:
+ for x in
DOMAIN_SHUTDOWN_REASONS
.keys():
+ if
DOMAIN_SHUTDOWN_REASONS
[x] == reason:
vm.info['shutdown'] = 1
vm.info['shutdown_reason'] = x
vm.refreshShutdown(vm.info)