mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Report detailed error if initial connection open attempt fails
This commit is contained in:
parent
9959a1dd9d
commit
9927ca6274
@ -1,3 +1,8 @@
|
|||||||
|
Mon May 11 15:55:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/virsh.c: Report detailed error if initial connection open
|
||||||
|
attempt fails
|
||||||
|
|
||||||
Mon May 11 16:03:37 CEST 2009 Daniel Veillard <veillard@redhat.com>
|
Mon May 11 16:03:37 CEST 2009 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/lxc_container.c: drop LXC CAP_SYS_BOOT capability to avoid
|
* src/lxc_container.c: drop LXC CAP_SYS_BOOT capability to avoid
|
||||||
|
@ -6876,6 +6876,7 @@ vshInit(vshControl *ctl)
|
|||||||
* such as "help".
|
* such as "help".
|
||||||
*/
|
*/
|
||||||
if (!ctl->conn) {
|
if (!ctl->conn) {
|
||||||
|
virshReportError(ctl);
|
||||||
vshError(ctl, FALSE, "%s", _("failed to connect to the hypervisor"));
|
vshError(ctl, FALSE, "%s", _("failed to connect to the hypervisor"));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user