qemu-ga: debug printouts to help troubleshoot installation
authorYossi Hindin <yhindin@redhat.com>
Wed, 6 May 2015 11:57:38 +0000 (14:57 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 17 Jun 2015 14:03:46 +0000 (16:03 +0200)
Debug printouts extended, helps installation troubleshooting

Signed-off-by: Yossi Hindin <yhindin@redhat.com>
Message-Id: <1430913460-13174-3-git-send-email-yhindin@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qga/channel-win32.c
qga/commands-win32.c

index 0d5e5f5..04fa5e4 100644 (file)
@@ -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;
     }
 
index 3ef0549..d0aaec7 100644 (file)
@@ -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};