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

Andrea Bolognani abologna at redhat.com
Fri Jan 17 16:32:38 UTC 2020


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 away.
> 
> Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
> Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> ---
>  tests/qemuhotplugtest.c | 5 +++++
>  1 file changed, 5 insertions(+)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list