On 03/09/2015 19:37, Salva Peiró wrote:
> The file memory.c directly calls the function pointers provided in
> the MemoryRegionOps to handle read and write operations for memory regions.
> The function pointers are called without checking if the function
> pointers are initialised, therefore, causing QEMU to SIGSEGV when
> accessing a memory address for which the operation is not defined (and not 
> initialised)
> 
> The patch adds explicit checks to function pointers before issuing the calls.

What device are you encountering this for?  Perhaps this should be done
in memory_region_init_io instead, so that it is detected early.

Paolo

Reply via email to