dispvm: create /qubes-restore-complete qubesdb key
It is used by just started DispVM to notice when restore process completed. Alternatively it could watch its own domid, but lets do it in Xen-independent way.
This commit is contained in:
parent
90b76b489d
commit
69f8d8aecf
@ -117,6 +117,12 @@ class QubesDisposableVm(QubesVm):
|
||||
attrs['privatedev'] = ''
|
||||
return attrs
|
||||
|
||||
|
||||
def create_xenstore_entries(self, xid):
|
||||
super(QubesDisposableVm, self).create_xenstore_entries(xid)
|
||||
|
||||
self.qdb.write('/qubes-restore-complete', '1')
|
||||
|
||||
def start(self, verbose = False, **kwargs):
|
||||
self.log.debug('start()')
|
||||
if dry_run:
|
||||
|
Loading…
Reference in New Issue
Block a user