summary refs log tree commit diff stats
path: root/hw/ide/piix.c
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2022-09-29 13:05:23 -0700
committerKevin Wolf <kwolf@redhat.com>2022-09-30 18:43:44 +0200
commit25474d90aa50bd32e0de395a33d8de42dd6f2aef (patch)
treed2abedb0df4f2f1dfbf259d400980e53d33f0156 /hw/ide/piix.c
parenta7c5f67a78569f8c275ea4ea9962e9c79b9d03cb (diff)
downloadfocaccia-qemu-25474d90aa50bd32e0de395a33d8de42dd6f2aef.tar.gz
focaccia-qemu-25474d90aa50bd32e0de395a33d8de42dd6f2aef.zip
block: use the request length for iov alignment
An iov length needs to be aligned to the logical block size, which may
be larger than the memory alignment.

Tested-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Message-Id: <20220929200523.3218710-3-kbusch@meta.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/piix.c')
0 files changed, 0 insertions, 0 deletions