summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer.c
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-03-19 11:39:42 +0100
committerFabiano FidĂȘncio <fidencio@redhat.com>2015-03-23 19:32:02 +0100
commitaec2248cf86cacfc8950f48ccf0fc8fcaa261908 (patch)
treefb69d086fbf80dd1346c5e6029ac2925b6c0b057 /src/virt-viewer.c
parentc586dc8c2bf84c2eda4db8759907e954dfb6ad6a (diff)
downloadvirt-viewer-aec2248cf86cacfc8950f48ccf0fc8fcaa261908.tar.gz
virt-viewer-aec2248cf86cacfc8950f48ccf0fc8fcaa261908.tar.xz
virt-viewer-aec2248cf86cacfc8950f48ccf0fc8fcaa261908.zip
virt-viewer: Bring back debug log about nonexistent guest
Although commit 88f6341 allowed to use virt-viewer with a wrong guest name, the user is informed about the nonexistent guest only by a dialog showing the list of running machines or informing about the connection error. Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1201177
Diffstat (limited to 'src/virt-viewer.c')
-rw-r--r--src/virt-viewer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/virt-viewer.c b/src/virt-viewer.c
index acad6c6..4919a06 100644
--- a/src/virt-viewer.c
+++ b/src/virt-viewer.c
@@ -726,6 +726,8 @@ virt_viewer_initial_connect(VirtViewerApp *app, GError **error)
goto wait;
} else {
VirtViewerWindow *main_window = virt_viewer_app_get_main_window(app);
+ if (priv->domkey != NULL)
+ g_debug("Cannot find guest %s", priv->domkey);
dom = choose_vm(virt_viewer_window_get_window(main_window),
&priv->domkey,
priv->conn,