Re: [libvirt] [PATCH v2 1/2] test: let qemuhotplugtest report details of init fails

2020-01-22 Thread Christian Ehrhardt
On Fri, Jan 17, 2020 at 6:32 PM Andrea Bolognani wrote: > On Thu, 2020-01-16 at 09:28 +0100, Christian Ehrhardt wrote: > > If virHostdevManagerGetDefault in qemuhotplugtest fails it works > > for quite a while to later segfault when accessing > > mgr->activePCIHostdevs. > > > > Report the error

Re: [libvirt] [PATCH v2 1/2] test: let qemuhotplugtest report details of init fails

2020-01-17 Thread Andrea Bolognani
On Thu, 2020-01-16 at 09:28 +0100, Christian Ehrhardt wrote: > If virHostdevManagerGetDefault in qemuhotplugtest fails it works > for quite a while to later segfault when accessing > mgr->activePCIHostdevs. > > Report the error details and break on a failed init to see the > real issue right

[libvirt] [PATCH v2 1/2] test: let qemuhotplugtest report details of init fails

2020-01-16 Thread Christian Ehrhardt
If virHostdevManagerGetDefault in qemuhotplugtest fails it works for quite a while to later segfault when accessing mgr->activePCIHostdevs. Report the error details and break on a failed init to see the real issue right away. Reviewed-by: Daniel Henrique Barboza Signed-off-by: Christian