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 /dma-helpers.c | |
parent | e00387d58243d4ae24ac68008a2aea76313ab997 (diff) | |
download | qemu-96478592a93f93322ecc20d0a6eccb4d4ef33c7a.zip qemu-96478592a93f93322ecc20d0a6eccb4d4ef33c7a.tar.gz qemu-96478592a93f93322ecc20d0a6eccb4d4ef33c7a.tar.bz2 |
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 'dma-helpers.c')
0 files changed, 0 insertions, 0 deletions