mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
fix return status when domain didn't show up
This commit is contained in:
parent
98352a103b
commit
e9c920ba67
@ -1,3 +1,8 @@
|
||||
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"));
|
||||
|
Loading…
Reference in New Issue
Block a user