dom0/core: rename "Starting" start to "Transient"
This state can also appear at VM shutdown.
This commit is contained in:
parent
9d3c008ecb
commit
1076e09dc0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user