[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Make 05_block_attach_and_dettach_device_repeatedly_pos pass on xm via XenAPI
# HG changeset patch # User Tom Wilkie <tom.wilkie@xxxxxxxxx> # Date 1174913167 -3600 # Node ID 15c74855ba684a46d90fd67869bb9e9ff9af2c4b # Parent f4ce943f25f64f3f2bae1bf9928769531e2a1bc4 Make 05_block_attach_and_dettach_device_repeatedly_pos pass on xm via XenAPI signed-off-by: Tom Wilkie <tom.wilkie@xxxxxxxxx> --- tools/python/xen/xend/XendDomainInfo.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r f4ce943f25f6 -r 15c74855ba68 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Mon Mar 26 13:29:27 2007 +0100 +++ b/tools/python/xen/xend/XendDomainInfo.py Mon Mar 26 13:46:07 2007 +0100 @@ -2410,7 +2410,8 @@ class XendDomainInfo: raise XendError('Device does not exist') try: - if self.state == XEN_API_VM_POWER_STATE_RUNNING: + if self.state == XEN_API_VM_POWER_STATE_RUNNING \ + or self.state == XEN_API_VM_POWER_STATE_PAUSED: _, config = self.info['devices'][dev_uuid] devid = config.get('devid') if devid != None: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |