]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Mon Feb 26 15:20:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
authorMark McLoughlin <markmc@redhat.com>
Mon, 26 Feb 2007 15:21:38 +0000 (15:21 +0000)
committerMark McLoughlin <markmc@redhat.com>
Mon, 26 Feb 2007 15:21:38 +0000 (15:21 +0000)
        * qemud/conf.c: qemudAutostartConfigs(): print the detailed
        error message from a guest/network autostart failure.

ChangeLog
qemud/conf.c

index d514d9cfbfc133d6de61e8ad05f1b223a9e22302..c18f24c0aad7538006f761cae1cefad49b7e1ccf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 26 15:20:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
+
+       * qemud/conf.c: qemudAutostartConfigs(): print the detailed
+       error message from a guest/network autostart failure.
+       
 Mon Feb 26 14:20:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
 
        * qemud/conf.c: check for malloc failure in GenerateXML()
index 83ae003ee8bae58b1af5d963f0e030b8bbba1410..bd22d2551a6dbf3ac01a977aef059d50076ed181 100644 (file)
@@ -2118,8 +2118,8 @@ void qemudAutostartConfigs(struct qemud_server *server) {
         if (network->autostart &&
             !qemudIsActiveNetwork(network) &&
             qemudStartNetworkDaemon(server, network) < 0)
-            qemudLog(QEMUD_ERR, "Failed to autostart network '%s'",
-                     network->def->name);
+            qemudLog(QEMUD_ERR, "Failed to autostart network '%s': %s",
+                     network->def->name, server->errorMessage);
 
         network = next;
     }
@@ -2131,8 +2131,8 @@ void qemudAutostartConfigs(struct qemud_server *server) {
         if (vm->autostart &&
             !qemudIsActiveVM(vm) &&
             qemudStartVMDaemon(server, vm) < 0)
-            qemudLog(QEMUD_ERR, "Failed to autostart VM '%s'",
-                     vm->def->name);
+            qemudLog(QEMUD_ERR, "Failed to autostart VM '%s': %s",
+                     vm->def->name, server->errorMessage);
 
         vm = next;
     }