From 4f090cdb5e322ac0afe1d3cc3f6a957d6f704761 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 4 May 2013 05:19:48 +0200 Subject: [PATCH] pass VM name to guid via cmdline --- core-modules/000QubesVm.py | 2 +- core-modules/01QubesHVm.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index d17b667d..691c092c 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -1650,7 +1650,7 @@ class QubesVm(object): xid = self.get_xid() guid_cmd = [system_path["qubes_guid_path"], - "-d", str(xid), + "-d", str(xid), "-N", self.name, "-c", self.label.color, "-i", self.label.icon_path, "-l", str(self.label.index)] diff --git a/core-modules/01QubesHVm.py b/core-modules/01QubesHVm.py index b843b504..9b5662f9 100644 --- a/core-modules/01QubesHVm.py +++ b/core-modules/01QubesHVm.py @@ -421,6 +421,7 @@ class QubesHVm(QubesVm): cmdline = [system_path["qubes_guid_path"], "-d", str(self.stubdom_xid), "-t", str(self.xid), + "-N", self.name, "-c", self.label.color, "-i", self.label.icon_path, "-l", str(self.label.index)]