]> git.proxmox.com Git - mirror_qemu.git/commitdiff
util: include the target address in socket connect failures
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 18 Sep 2020 09:31:45 +0000 (10:31 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 29 Oct 2020 09:57:37 +0000 (09:57 +0000)
Reporting "Failed to connect socket" is essentially useless for a user
attempting to diagnose failure. It needs to include the target address
details. Similarly when failing to create a socket we should include the
socket family info, so the user understands what particular feature was
missing in their kernel build (IPv6, VSock in particular).

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

No differences found