mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
1 parent
705e2697a0
commit
55bf813209
1 file changed
+1
-1
@@ -439,7 +439,7 @@ class XendDomainInfo:
|
||||
|
||||
def shutdown(self, reason):
|
||||
"""Shutdown a domain by signalling this via xenstored."""
|
||||
log.debug('XendDomainInfo.shutdown')
|
||||
log.debug('XendDomainInfo.shutdown(%s)', reason)
|
||||
if self.state in (DOM_STATE_SHUTDOWN, DOM_STATE_HALTED,):
|
||||
raise XendError('Domain cannot be shutdown')
|
||||
|
||||
|
||||