dom0/core: rename "Starting" start to "Transient"

This state can also appear at VM shutdown.
This commit is contained in:
Marek Marczykowski 2012-04-20 13:49:33 +02:00
parent 9d3c008ecb
commit 1076e09dc0

View File

@ -633,7 +633,7 @@ class QubesVm(object):
return "Dying"
else:
if not self.is_fully_usable():
return "Starting"
return "Transient"
else:
return "Running"
else:
@ -653,7 +653,7 @@ class QubesVm(object):
def is_running(self):
# in terms of Xen and internal logic - starting VM is running
if self.get_power_state() in ["Running", "Starting"]:
if self.get_power_state() in ["Running", "Transient"]:
return True
else:
return False