Revision a3f0f306 lib/hypervisor/hv_chroot.py
b/lib/hypervisor/hv_chroot.py | ||
---|---|---|
123 | 123 |
dir_name = self._InstanceDir(instance_name) |
124 | 124 |
if not self._IsDirLive(dir_name): |
125 | 125 |
raise HypervisorError("Instance %s is not running" % instance_name) |
126 |
return (instance_name, 0, 0, 0, 0, 0)
|
|
126 |
return (instance_name, 0, 0, 0, hv_base.HvInstanceState.RUNNING, 0)
|
|
127 | 127 |
|
128 | 128 |
def GetAllInstancesInfo(self, hvparams=None): |
129 | 129 |
"""Get properties of all instances. |
Also available in: Unified diff