Peter Maydell d688e5239a 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>
2012-11-26 19:53:26 +01:00
..
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-07-29 17:05:35 +03:00
2012-02-15 09:39:21 -06:00
2012-10-05 16:07:49 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2011-08-08 10:15:54 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00