[virt-tools-list] [PATCH virt-viewer v2] virt-viewer: Bring back debug log about nonexistent guest
Fabiano Fidêncio
fidencio at redhat.com
Thu Mar 19 13:21:30 UTC 2015
On Thu, 2015-03-19 at 11:39 +0100, Pavel Grunt wrote:
> 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
> ---
> v2: commit message was changed -
> https://www.redhat.com/archives/virt-tools-list/2015-March/msg00084.html
> ---
> src/virt-viewer.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/virt-viewer.c b/src/virt-viewer.c
> index 38f9a28..c36a17c 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,
ACK!
More information about the virt-tools-list
mailing list