projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3756da0
)
Add a shutdownWatch field in the HVMImageHandler constructor, to avoid error
author
Ewan Mellor
<ewan@xensource.com>
Wed, 8 Nov 2006 12:25:56 +0000
(12:25 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Wed, 8 Nov 2006 12:25:56 +0000
(12:25 +0000)
messages if creation fails and the watch gets torn down.
Signed-off-by: Ewan Mellor <ewan@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 f140c158c72984749fbbbfb32d7420cbece765ca..8c1f21a52e2566564c5ca855a3a1b6639f417c4a 100644
(file)
--- a/
tools/python/xen/xend/image.py
+++ b/
tools/python/xen/xend/image.py
@@
-248,6
+248,11
@@
class PPC_LinuxImageHandler(LinuxImageHandler):
class HVMImageHandler(ImageHandler):
+ def __init__(self, vm, imageConfig, deviceConfig):
+ ImageHandler.__init__(self, vm, imageConfig, deviceConfig)
+ self.shutdownWatch = None
+
+
def configure(self, imageConfig, deviceConfig):
ImageHandler.configure(self, imageConfig, deviceConfig)