summary refs log tree commit diff stats
path: root/hw/i2c/imx_i2c.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-05-07 21:16:43 -0600
committerMax Reitz <mreitz@redhat.com>2016-05-12 15:33:24 +0200
commit093ea232b0a3359ce60ab0f535d9bd04454d39eb (patch)
tree4756476b80f1b670b92a7adbcbd42b4202c28b8f /hw/i2c/imx_i2c.c
parentdc38852aaa4ac187d8b44201f75fc2835241912d (diff)
downloadfocaccia-qemu-093ea232b0a3359ce60ab0f535d9bd04454d39eb.tar.gz
focaccia-qemu-093ea232b0a3359ce60ab0f535d9bd04454d39eb.zip
qemu-io: Allow unaligned access by default
There's no reason to require the user to specify a flag just so
they can pass in unaligned numbers.  Keep 'read -p' and 'write -p'
as no-ops so that I don't have to hunt down and update all users
of qemu-io, but otherwise make their behavior default as 'read' and
'write'.  Also fix 'write -z', 'readv', 'writev', 'writev',
'aio_read', 'aio_write', and 'aio_write -z'.  For now, 'read -b',
'write -b', and 'write -c' still require alignment (and 'multiwrite',
but that's slated to die soon).

qemu-iotest 23 is updated to match, as the only test that was
previously explicitly expecting an error on an unaligned request.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-id: 1462677405-4752-5-git-send-email-eblake@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/i2c/imx_i2c.c')
0 files changed, 0 insertions, 0 deletions