Skip to content
Commit 8d5f2a75 authored by Mark Cave-Ayland's avatar Mark Cave-Ayland Committed by Michael Roth
Browse files

dma-helpers: explicitly pass alignment into DMA helpers



The hard-coded default alignment is BDRV_SECTOR_SIZE, however this is not
necessarily the case for all platforms. Use this as the default alignment for
all current callers.

Signed-off-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Acked-by: default avatarJohn Snow <jsnow@redhat.com>
Message-id: 1476445266-27503-2-git-send-email-mark.cave-ayland@ilande.co.uk
Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
(cherry picked from commit 99868af3)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 5f20161c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment