virtio-scsi: use dma_context_memory
commitdd72fdd06268860a24f9f3828efade547ee2e2a9
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Oct 2012 16:31:43 +0000 (30 17:31 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Nov 2012 15:44:57 +0000 (12 16:44 +0100)
tree708c36fb538cb0935adbf5e22f5ed241dc2632c6
parent9e11908f12f92e31ea94dc2a4c962c836cba9f2a
virtio-scsi: use dma_context_memory

Until address_space_rw was introduced, NULL was accepted as a
placeholder for DMA with no IOMMU (to address_space_memory).

This does not work anymore, and dma_context_memory needs to
be specified explicitly.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/virtio-scsi.c