dom0: automatically determine domain xid in create_xenstore_entries

This commit is contained in:
Marek Marczykowski 2011-09-06 01:14:49 +02:00
parent a1fc75a58b
commit c1f0296e66

View File

@ -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: