dom0: automatically determine domain xid in create_xenstore_entries
This commit is contained in:
parent
a1fc75a58b
commit
c1f0296e66
@ -618,10 +618,13 @@ class QubesVm(object):
|
|||||||
# timeout
|
# timeout
|
||||||
break
|
break
|
||||||
|
|
||||||
def create_xenstore_entries(self, xid):
|
def create_xenstore_entries(self, xid = None):
|
||||||
if dry_run:
|
if dry_run:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if xid is None:
|
||||||
|
xid = self.xid
|
||||||
|
|
||||||
domain_path = xs.get_domain_path(xid)
|
domain_path = xs.get_domain_path(xid)
|
||||||
|
|
||||||
# Set Xen Store entires with VM networking info:
|
# Set Xen Store entires with VM networking info:
|
||||||
|
Loading…
Reference in New Issue
Block a user