> We can then add an assert() in memory_region_init_rom_device() > to prevent further misuse. (Passing NULL was documented as > "I/O space is not supposed to be handled by QEMU itself", but this > doesn't make much sense (who would be handling the writes?) and > isn't used by any of the callers.) > > This is for-2.7 because it fixes a crash in the imx boards > if the guest misbehaves: > https://bugs.launchpad.net/qemu/+bug/1596160
Go ahead and include this in target-arm (and since we're at it, it would be great if you handled Cedric's m25p80 series when he sends out the rebase). Paolo