From 8724c65b35315752decbefdad875d9ffc70e01bb Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Thu, 3 Jun 2010 23:04:47 +0200 Subject: [PATCH] qvm-tools: pass -l to qubes_guid --- dom0/qvm-tools/qvm-run | 4 ++-- dom0/qvm-tools/qvm-start | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dom0/qvm-tools/qvm-run b/dom0/qvm-tools/qvm-run index 76c7c589..ecd615a0 100755 --- a/dom0/qvm-tools/qvm-run +++ b/dom0/qvm-tools/qvm-run @@ -81,7 +81,7 @@ def vm_run_cmd(vm, cmd, options): if options.verbose: print "--> Starting Qubes GUId..." - retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-e", cmd, "-i", vm.label.icon]) + retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-e", cmd, "-i", vm.label.icon, "-l", str(vm.label.index)]) if (retcode != 0) : print "ERROR: Cannot start qubes_guid!" if options.tray: @@ -105,7 +105,7 @@ def vm_run_cmd(vm, cmd, options): s.send (cmd) s.close() else: - retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-e", cmd, "-i", vm.label.icon]) + retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-e", cmd, "-i", vm.label.icon, "-l", str(vm.label.index)]) if (retcode != 0) : print "ERROR: Cannot start qubes_guid!" if options.tray: diff --git a/dom0/qvm-tools/qvm-start b/dom0/qvm-tools/qvm-start index 0044438a..46ad8243 100755 --- a/dom0/qvm-tools/qvm-start +++ b/dom0/qvm-tools/qvm-start @@ -63,7 +63,7 @@ def main(): if options.verbose: print "--> Starting Qubes GUId..." - retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-i", vm.label.icon]) + retcode = subprocess.call ([qubes_guid_path, "-d", str(xid), "-c", vm.label.color, "-i", vm.label.icon, "-l", str(vm.label.index)]) if (retcode != 0) : print "ERROR: Cannot start qubes_guid!" exit (1)