From 20d25657176c48f50df4abb51c39626ce94f654d Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 4 Jul 2007 00:48:32 -0400 Subject: [PATCH] Improve error message if QEMU daemon isn't running (Ville Skytta) --- AUTHORS | 1 + src/virtManager/engine.py | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/AUTHORS b/AUTHORS index e24a66276..8cf359848 100644 --- a/AUTHORS +++ b/AUTHORS @@ -22,6 +22,7 @@ Further patches have been submitted by: Richard W.M. Jones Nobuhiro Itou Cole Robinson + Ville Skytta <...send a patch & get your name here...> diff --git a/src/virtManager/engine.py b/src/virtManager/engine.py index 8002c4aba..0bb36ac51 100644 --- a/src/virtManager/engine.py +++ b/src/virtManager/engine.py @@ -89,6 +89,13 @@ class vmmEngine: " - A Xen host kernel was booted\n" + " - The Xen service has been started\n"), details) + elif uri.startswith("qemu:"): + dg = vmmErrorDialog (None, 0, gtk.MESSAGE_ERROR, + gtk.BUTTONS_CLOSE, + _("Unable to open a connection to the QEMU management daemon.\n\n" + + "Verify that:\n" + + " - The 'libvirt_qemud' daemon has been started\n"), + details) else: dg = vmmErrorDialog (None, 0, gtk.MESSAGE_ERROR, gtk.BUTTONS_CLOSE,