diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-11 12:38:50 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-20 16:32:48 +0200 |
commit | 96478592a93f93322ecc20d0a6eccb4d4ef33c7a (patch) | |
tree | fb82480c4492f6d617494b5b4a88d19128dcd195 /hw/sd | |
parent | e00387d58243d4ae24ac68008a2aea76313ab997 (diff) | |
download | qemu-96478592a93f93322ecc20d0a6eccb4d4ef33c7a.tar.gz qemu-96478592a93f93322ecc20d0a6eccb4d4ef33c7a.tar.bz2 qemu-96478592a93f93322ecc20d0a6eccb4d4ef33c7a.zip |
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/sd')
0 files changed, 0 insertions, 0 deletions