From c69403fcd4a0cb89f838a212ab71e4a1a3464c95 Mon Sep 17 00:00:00 2001 From: Yossi Hindin Date: Wed, 6 May 2015 14:57:38 +0300 Subject: [PATCH] qemu-ga: debug printouts to help troubleshoot installation Debug printouts extended, helps installation troubleshooting Signed-off-by: Yossi Hindin Message-Id: <1430913460-13174-3-git-send-email-yhindin@redhat.com> Signed-off-by: Paolo Bonzini --- qga/channel-win32.c | 2 +- qga/commands-win32.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qga/channel-win32.c b/qga/channel-win32.c index 0d5e5f511f..04fa5e4d1d 100644 --- a/qga/channel-win32.c +++ b/qga/channel-win32.c @@ -306,7 +306,7 @@ static gboolean ga_channel_open(GAChannel *c, GAChannelMethod method, OPEN_EXISTING, FILE_FLAG_NO_BUFFERING | FILE_FLAG_OVERLAPPED, NULL); if (c->handle == INVALID_HANDLE_VALUE) { - g_critical("error opening path"); + g_critical("error opening path %s", newpath); return false; } diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 3ef0549c0f..d0aaec70f3 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -721,6 +721,7 @@ GList *ga_command_blacklist_init(GList *blacklist) } if (!vss_init(true)) { + g_debug("vss_init failed, vss commands are going to be disabled"); const char *list[] = { "guest-get-fsinfo", "guest-fsfreeze-status", "guest-fsfreeze-freeze", "guest-fsfreeze-thaw", NULL}; -- 2.11.0