This is a follow-up to the thread at https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg01396.html which introduces an explicit alignment to the DMA helpers to facilitate conversion of the macio controller over to use the now byte-aligned DMA helpers.
Patch 1 introduces an alignment parameter as suggested by Paolo above, whilst patch 2 performs the conversion for the macio controller. Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> Mark Cave-Ayland (2): dma-helpers: explicitly pass alignment into dma-helpers macio: switch over to new byte-aligned DMA helpers dma-helpers.c | 20 ++--- hw/block/nvme.c | 6 +- hw/ide/ahci.c | 2 + hw/ide/core.c | 6 +- hw/ide/macio.c | 213 +++++++------------------------------------------- hw/scsi/scsi-disk.c | 2 + include/sysemu/dma.h | 6 +- 7 files changed, 53 insertions(+), 202 deletions(-) -- 1.7.10.4