]> git.proxmox.com Git - qemu.git/commit
dma: eliminate DMAContext
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Apr 2013 16:15:49 +0000 (18:15 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Jun 2013 14:39:52 +0000 (16:39 +0200)
commitdf32fd1c9f53dd3b7abd28e29f851965039eabda
tree37996235c390c2c368f595090642b1aedea3b5db
parent96478592a93f93322ecc20d0a6eccb4d4ef33c7a
dma: eliminate DMAContext

The DMAContext is a simple pointer to an AddressSpace that is now always
already available.  Make everyone hold the address space directly,
and clean up the DMA API to use the AddressSpace directly.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
23 files changed:
dma-helpers.c
exec.c
hw/block/nvme.c
hw/dma/pl330.c
hw/ide/ahci.c
hw/ide/ahci.h
hw/ide/ich.c
hw/ide/macio.c
hw/pci/pci.c
hw/ppc/spapr_vio.c
hw/scsi/megasas.c
hw/scsi/virtio-scsi.c
hw/scsi/vmw_pvscsi.c
hw/sd/sdhci.c
hw/usb/hcd-ehci-pci.c
hw/usb/hcd-ehci-sysbus.c
hw/usb/hcd-ehci.c
hw/usb/hcd-ehci.h
hw/usb/hcd-ohci.c
hw/usb/libhw.c
include/hw/pci/pci.h
include/hw/ppc/spapr_vio.h
include/sysemu/dma.h