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

Christian Ehrhardt christian.ehrhardt at canonical.com
Wed Jan 22 08:54:29 UTC 2020


On Fri, Jan 17, 2020 at 6:32 PM Andrea Bolognani <abologna at redhat.com>
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 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>
>
>
Thanks for the reviews Daniel and Andrea, I have pushed this (just this -
not the 2/2 which is still up for discussion) to master now.


> --
> Andrea Bolognani / Red Hat / Virtualization
>
>

-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200122/5e5e5312/attachment-0001.htm>


More information about the libvir-list mailing list