iotests: add O_DIRECT alignment probing test
commit1a6e597995c8c0125d1f305b583d6de083e44c73
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 5 Mar 2015 21:38:18 +0000 (5 15:38 -0600)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:24 +0000 (10 14:02 +0100)
tree6c8c0de82a4595a12d998380704fabe6aabc911c
parent22d182e82b4ba2fb78b2cc22bcec4e6a440b0ad6
iotests: add O_DIRECT alignment probing test

This test case checks that image files can be opened even if I/O
produces EIO errors.  QEMU should not refuse opening failed disks since
the guest may be configured for multipath I/O where accessing failed
disks is expected.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/128 [new file with mode: 0755]
tests/qemu-iotests/128.out [new file with mode: 0644]
tests/qemu-iotests/group