[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Add a shutdownWatch field in the HVMImageHandler constructor, to avoid error
# HG changeset patch # User Ewan Mellor <ewan@xxxxxxxxxxxxx> # Node ID 695393d30ead1e72802dd1a5fada5e27d4154613 # Parent 2408c042a2768c7577a38d78adce0dec82242a1a 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@xxxxxxxxxxxxx> --- tools/python/xen/xend/image.py | 5 +++++ 1 files changed, 5 insertions(+) diff -r 2408c042a276 -r 695393d30ead tools/python/xen/xend/image.py --- a/tools/python/xen/xend/image.py Wed Nov 08 11:13:50 2006 +0000 +++ b/tools/python/xen/xend/image.py Wed Nov 08 12:25:56 2006 +0000 @@ -247,6 +247,11 @@ class PPC_LinuxImageHandler(LinuxImageHa arch_args = devtree.to_bin()) 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) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |