Paolo Bonzini <[email protected]> writes:

> Otherwise, hot-unplug of pci-serial-2x trips the assertion
> in memory_region_destroy:
>
>     (qemu) device_del gg
>     (qemu) qemu-system-x86_64: /work/armbru/tmp/qemu/memory.c:1021: 
> memory_region_destroy: Assertion `((&mr->subregions)->tqh_first == ((void 
> *)0))' failed.
>     Aborted (core dumped)
>
> Reported-by: Markus Armbruster <[email protected]>
> Signed-off-by: Paolo Bonzini <[email protected]>

Reviewed-by: Markus Armbruster <[email protected]>

Would it make sense to add a "must not contain subregions" to
memory_region_destroy()'s function comment?

Reply via email to