« Previous | Next » 

Revision d688e523

IDd688e5239aad2a1f991147974832ce026f78c1a3

Added by Peter Maydell over 11 years ago

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 <>
Signed-off-by: Peter Maydell <>
Signed-off-by: Alexander Graf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences