diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-11-20 08:16:51 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-11-26 19:53:26 +0100 |
commit | d688e5239aad2a1f991147974832ce026f78c1a3 (patch) | |
tree | 64e7ae9da6f13f58601d5abeccee8f97e243948a /target-ppc | |
parent | cab1e8f3e37d8e883c270e3afd9c7c1c18332f0e (diff) |
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 'target-ppc')
0 files changed, 0 insertions, 0 deletions