pass VM name to guid via cmdline

This commit is contained in:
Marek Marczykowski 2013-05-04 05:19:48 +02:00 committed by Marek Marczykowski-Górecki
parent 3b5c89d9ce
commit 4f090cdb5e
2 changed files with 2 additions and 1 deletions

View File

@ -1650,7 +1650,7 @@ class QubesVm(object):
xid = self.get_xid() xid = self.get_xid()
guid_cmd = [system_path["qubes_guid_path"], guid_cmd = [system_path["qubes_guid_path"],
"-d", str(xid), "-d", str(xid), "-N", self.name,
"-c", self.label.color, "-c", self.label.color,
"-i", self.label.icon_path, "-i", self.label.icon_path,
"-l", str(self.label.index)] "-l", str(self.label.index)]

View File

@ -421,6 +421,7 @@ class QubesHVm(QubesVm):
cmdline = [system_path["qubes_guid_path"], cmdline = [system_path["qubes_guid_path"],
"-d", str(self.stubdom_xid), "-d", str(self.stubdom_xid),
"-t", str(self.xid), "-t", str(self.xid),
"-N", self.name,
"-c", self.label.color, "-c", self.label.color,
"-i", self.label.icon_path, "-i", self.label.icon_path,
"-l", str(self.label.index)] "-l", str(self.label.index)]