From d76f6b54a5c37ac8fa15d5cb5b0e30f610709bb4 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Mon, 26 Feb 2007 15:21:38 +0000 Subject: [PATCH] Mon Feb 26 15:20:56 IST 2007 Mark McLoughlin * qemud/conf.c: qemudAutostartConfigs(): print the detailed error message from a guest/network autostart failure. --- ChangeLog | 5 +++++ qemud/conf.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d514d9cfbf..c18f24c0aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 26 15:20:56 IST 2007 Mark McLoughlin + + * 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 * qemud/conf.c: check for malloc failure in GenerateXML() diff --git a/qemud/conf.c b/qemud/conf.c index 83ae003ee8..bd22d2551a 100644 --- a/qemud/conf.c +++ b/qemud/conf.c @@ -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; } -- GitLab