mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Add a shutdownWatch field in the HVMImageHandler constructor, to avoid error
messages if creation fails and the watch gets torn down. Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
3756da027a
commit
6037d8bec8
1 file changed
+5
@@ -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)
|
||||
|
||||
|
||||