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

2020-01-15 Thread Daniel Henrique Barboza
On 1/15/20 1:37 PM, 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 away. Signed-off-by:

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

2020-01-15 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. Signed-off-by: Christian Ehrhardt --- tests/qemuhotplugtest.c | 5