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:44 -0600
committerMax Reitz <mreitz@redhat.com>2016-05-12 15:33:24 +0200
commit770e0e0e808c6cd361c718ca1a936ed18864c69e (patch)
treee25422213acc41b32640cab8b6bb1262e3c981b6 /hw/i2c/imx_i2c.c
parent093ea232b0a3359ce60ab0f535d9bd04454d39eb (diff)
downloadfocaccia-qemu-770e0e0e808c6cd361c718ca1a936ed18864c69e.tar.gz
focaccia-qemu-770e0e0e808c6cd361c718ca1a936ed18864c69e.zip
qemu-io: Add 'write -f' to test FUA flag
Make it easier to test block drivers with BDRV_REQ_FUA in
.supported_write_flags, by adding the '-f' flag to qemu-io to
conditionally pass the flag through to specific writes ('write',
'write -z', 'writev', 'aio_write', 'aio_write -z'). You'll want
to use 'qemu-io -t none' to actually make -f useful (as
otherwise, the default writethrough mode automatically sets the
FUA bit on every write).

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-id: 1462677405-4752-6-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