Home
last modified time | relevance | path

Searched hist:"58 f423fb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/util/
H A Diov.c58f423fb Wed Jul 09 12:17:30 CDT 2014 Kevin Wolf <kwolf@redhat.com> dma-helpers: Fix too long qiov

If the size of the scatter/gather list isn't a multiple of 512, the
number of sectors for the block layer request is rounded down, resulting
in a qiov that doesn't match the request length. Truncate the qiov to the
new length of the request.

This fixes the IDE qtest case /x86_64/ide/bmdma/short_prdt.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>