summaryrefslogtreecommitdiffstats
path: root/hw/char/grlib_apbuart.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-03-09 15:28:37 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2015-03-10 10:49:25 +0100
commitcba7054928b10a7fda57c64807451bbc9a31e42e (patch)
tree6ddc67ab341cc64df3fca8bf57d11f74474ce0ac /hw/char/grlib_apbuart.c
parent21b7cf9e07e5991c57b461181cfb5bbb6fe7a9d6 (diff)
downloadhqemu-cba7054928b10a7fda57c64807451bbc9a31e42e.zip
hqemu-cba7054928b10a7fda57c64807451bbc9a31e42e.tar.gz
cpus: initialize cpu->memory_dispatch
This fixes a NULL pointer dereference in s390x-softmmu. On pretty much all other architectures, creating an MMIO region calls cpu_reload_memory_map. On s390, however, there are no MMIO regions and everything is done via hypercalls. Fixes: 9d82b5a792236db31a75b9db5c93af69ac07c7c5 Reported-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char/grlib_apbuart.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud