From: Simon Horman Subject: [patch] pass-through: raise VmError if device model takes too long Date: Tue, 8 Sep 2009 17:07:17 +1000 Message-ID: <20090908070707.GA1559@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Dexuan Cui List-Id: xen-devel@lists.xenproject.org This resolves a syntax error introduced by me. Cc: Dexuan Cui Signed-off-by: Simon Horman 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"