Thomas Huth <[email protected]> writes:

> From: Thomas Huth <[email protected]>
>
> QEMU currently crashes when introspecting the sun4u-iommu device from the
> command line interface:
>
>  $ ./qemu-system-sparc64 -display none -device sun4u-iommu,help
>  qemu-system-sparc64: ../../devel/qemu/system/physmem.c:1401:
>   register_multipage: Assertion `num_pages' failed.
>  Aborted (core dumped)
>
> There does not seem to be a compelling reason for initializing the
> memory regions from the instance_init function, so let's simply move
> the code into a realize() function instead to fix this issue.
>
> Signed-off-by: Thomas Huth <[email protected]>

Reported-by: Markus Armbruster <[email protected]>
Tested-by: Markus Armbruster <[email protected]>


Reply via email to