Re: [Qemu-devel] [PATCH 1/1] hw/ppc/spapr_drc.c: adding drc->dev into detach quiesce condition

2017-10-06 Thread David Gibson
On Thu, Oct 05, 2017 at 04:24:58PM -0300, Daniel Henrique Barboza wrote: > In cases where a device is hotplugged and hot-unplugged shortly after, > there is a chance of QEMU breaking with the following message: > > hw/ppc/spapr_drc.c:417:spapr_drc_detach: assertion failed: (drc->dev) > Aborted >

[Qemu-devel] [PATCH 1/1] hw/ppc/spapr_drc.c: adding drc->dev into detach quiesce condition

2017-10-05 Thread Daniel Henrique Barboza
In cases where a device is hotplugged and hot-unplugged shortly after, there is a chance of QEMU breaking with the following message: hw/ppc/spapr_drc.c:417:spapr_drc_detach: assertion failed: (drc->dev) Aborted spapr_drc_detach makes a g_assert(drc->dev) to ensure that the following spapr_drc_re