Simon Horman
2009-Sep-08 07:07 UTC
[Xen-devel] [patch] pass-through: raise VmError if device model takes too long
This resolves a syntax error introduced by me. Cc: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Simon Horman <horms@verge.net.au> Index: xen-unstable.hg/tools/python/xen/xend/image.py ==================================================================--- xen-unstable.hg.orig/tools/python/xen/xend/image.py 2009-09-08 17:02:01.000000000 +1000 +++ xen-unstable.hg/tools/python/xen/xend/image.py 2009-09-08 17:02:03.000000000 +1000 @@ -475,7 +475,7 @@ class ImageHandler: if count < 100: continue - VmError(''Device model isn\''t ready for commands'') + raise VmError(''Device model isn\''t ready for commands'') if par is not None: xstransact.Store("/local/domain/0/device-model/%i" _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel