aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/virtio-scsi.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-04-11 12:38:50 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-06-20 16:32:48 +0200
commit96478592a93f93322ecc20d0a6eccb4d4ef33c7a (patch)
treefb82480c4492f6d617494b5b4a88d19128dcd195 /hw/scsi/virtio-scsi.c
parente00387d58243d4ae24ac68008a2aea76313ab997 (diff)
spapr_vio: take care of creating our own AddressSpace/DMAContext
Fetch the root region from the sPAPRTCETable, and use it to build an AddressSpace and DMAContext. Now, everywhere we have a DMAContext we also have access to the corresponding AddressSpace (either because we create it just before the DMAContext, or because dma_context_memory's AddressSpace is trivially address_space_memory). Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/virtio-scsi.c')
0 files changed, 0 insertions, 0 deletions