dom0/core: rename "Starting" start to "Transient"
This state can also appear at VM shutdown.
This commit is contained in:
parent
cc5ce33e91
commit
ff2be63090
@ -641,7 +641,7 @@ class QubesVm(object):
|
||||
return "Dying"
|
||||
else:
|
||||
if not self.is_fully_usable():
|
||||
return "Starting"
|
||||
return "Transient"
|
||||
else:
|
||||
return "Running"
|
||||
else:
|
||||
@ -661,7 +661,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