summaryrefslogtreecommitdiff
path: root/hw/alpha_typhoon.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-11-20 08:16:51 +0000
committerAlexander Graf <agraf@suse.de>2012-11-26 19:53:26 +0100
commitd688e5239aad2a1f991147974832ce026f78c1a3 (patch)
tree64e7ae9da6f13f58601d5abeccee8f97e243948a /hw/alpha_typhoon.c
parentcab1e8f3e37d8e883c270e3afd9c7c1c18332f0e (diff)
downloadqemu-d688e5239aad2a1f991147974832ce026f78c1a3.tar.gz
hw/ide/macio: Fix segfault caused by NULL DMAContext*
Pass qemu_sglist_init the global dma_context_memory rather than a NULL pointer; this fixes a segfault in dma_memory_map() when the guest starts using DMA. Reported-by: Amadeusz Sławiński <amade@asmblr.net> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/alpha_typhoon.c')
0 files changed, 0 insertions, 0 deletions