commit | d688e5239aad2a1f991147974832ce026f78c1a3 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Tue Nov 20 08:16:51 2012 +0000 |
committer | Alexander Graf <agraf@suse.de> | Mon Nov 26 19:53:26 2012 +0100 |
tree | 64e7ae9da6f13f58601d5abeccee8f97e243948a | |
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>