dom0/core: get stubdom xid also for paused domains
Especially during HVM startup.
This commit is contained in:
parent
a387393b43
commit
d1bd26ebe0
@ -2159,7 +2159,7 @@ class QubesHVm(QubesVm):
|
||||
|
||||
@property
|
||||
def stubdom_xid(self):
|
||||
if not self.is_running():
|
||||
if self.xid < 0:
|
||||
return -1
|
||||
|
||||
return int(xs.read('', '/local/domain/%d/image/device-model-domid' % self.xid))
|
||||
|
Loading…
Reference in New Issue
Block a user