提交 e9c920ba 编写于 作者: G Guido Günther

fix return status when domain didn't show up

上级 98352a10
Wed Feb 11 21:30:47 CET 2009 Guido Günther <agx@sigxcpu.org>
* src/qemu_driver.c (qemudStartVMDaemon): fix return status when
domain didn't show up
Mon Feb 9 17:26:07 +0100 2009 Jim Meyering <meyering@redhat.com>
libvirtd: new config-file option: unix_sock_dir
......
......@@ -1218,8 +1218,11 @@ static int qemudStartVMDaemon(virConnectPtr conn,
usleep(100*1000);
retries--;
}
if (ret)
qemudLog(QEMUD_WARN, _("Domain %s didn't show up\n"), vm->def->name);
if (ret) {
qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
_("Domain %s didn't show up\n"), vm->def->name);
ret = -1;
}
} else {
qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
"%s", _("Unable to daemonize QEMU process"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册