ia64/xen-unstable

changeset 12313:695393d30ead

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>
author Ewan Mellor <ewan@xensource.com>
date Wed Nov 08 12:25:56 2006 +0000 (2006-11-08)
parents 2408c042a276
children 40e586047ead
files tools/python/xen/xend/image.py
line diff
     1.1 --- a/tools/python/xen/xend/image.py	Wed Nov 08 11:13:50 2006 +0000
     1.2 +++ b/tools/python/xen/xend/image.py	Wed Nov 08 12:25:56 2006 +0000
     1.3 @@ -248,6 +248,11 @@ class PPC_LinuxImageHandler(LinuxImageHa
     1.4  
     1.5  class HVMImageHandler(ImageHandler):
     1.6  
     1.7 +    def __init__(self, vm, imageConfig, deviceConfig):
     1.8 +        ImageHandler.__init__(self, vm, imageConfig, deviceConfig)
     1.9 +        self.shutdownWatch = None
    1.10 +
    1.11 +
    1.12      def configure(self, imageConfig, deviceConfig):
    1.13          ImageHandler.configure(self, imageConfig, deviceConfig)
    1.14