提交 d76f6b54 编写于 作者: M Mark McLoughlin

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.
上级 e0952bad
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> Mon Feb 26 14:20:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/conf.c: check for malloc failure in GenerateXML() * qemud/conf.c: check for malloc failure in GenerateXML()
......
...@@ -2118,8 +2118,8 @@ void qemudAutostartConfigs(struct qemud_server *server) { ...@@ -2118,8 +2118,8 @@ void qemudAutostartConfigs(struct qemud_server *server) {
if (network->autostart && if (network->autostart &&
!qemudIsActiveNetwork(network) && !qemudIsActiveNetwork(network) &&
qemudStartNetworkDaemon(server, network) < 0) qemudStartNetworkDaemon(server, network) < 0)
qemudLog(QEMUD_ERR, "Failed to autostart network '%s'", qemudLog(QEMUD_ERR, "Failed to autostart network '%s': %s",
network->def->name); network->def->name, server->errorMessage);
network = next; network = next;
} }
...@@ -2131,8 +2131,8 @@ void qemudAutostartConfigs(struct qemud_server *server) { ...@@ -2131,8 +2131,8 @@ void qemudAutostartConfigs(struct qemud_server *server) {
if (vm->autostart && if (vm->autostart &&
!qemudIsActiveVM(vm) && !qemudIsActiveVM(vm) &&
qemudStartVMDaemon(server, vm) < 0) qemudStartVMDaemon(server, vm) < 0)
qemudLog(QEMUD_ERR, "Failed to autostart VM '%s'", qemudLog(QEMUD_ERR, "Failed to autostart VM '%s': %s",
vm->def->name); vm->def->name, server->errorMessage);
vm = next; vm = next;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册