dom0/core: treat 'halting' VM still as running
This is especially important for qvm-shutdown --wait - to wait for VM really shut down.
This commit is contained in:
parent
268cbfdc84
commit
e14ce10da6
@ -731,7 +731,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", "Transient"]:
|
||||
if self.get_power_state() in ["Running", "Transient", "Halting"]:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user