diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 18ef63f4..9e3477c5 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -535,7 +535,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM): @qubes.stateless_property def stubdom_xid(self): - if self.xid < 0: + if not self.is_running(): return -1 if self.app.vmm.xs is None: