From 897f981c8c5c2659300de9b46910ef9830146662 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 5 Jul 2012 01:30:00 +0200 Subject: [PATCH] dom0/qvm-run: Notify qubes-manager about failed VM start (#615) --- dom0/qvm-tools/qvm-run | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom0/qvm-tools/qvm-run b/dom0/qvm-tools/qvm-run index d83236cd..8292e0cd 100755 --- a/dom0/qvm-tools/qvm-run +++ b/dom0/qvm-tools/qvm-run @@ -23,6 +23,7 @@ from qubes.qubes import QubesVmCollection from qubes.qubes import QubesException +from qubes.guihelpers import notify_error_qubes_manager from optparse import OptionParser import subprocess import socket @@ -89,6 +90,7 @@ def vm_run_cmd(vm, cmd, options): except QubesException as err: if options.tray: tray_notify_error(str(err)) + notify_error_qubes_manager(vm.name, str(err)) print >> sys.stderr, "ERROR: %s" % str(err) exit(1)