tests: virtio-scsi: Add test for unaligned WRITE SAME
commit397c767b2de5b918a7b890d02aae83d6dcb2a470
authorFam Zheng <famz@redhat.com>
Fri, 24 Apr 2015 11:35:20 +0000 (24 19:35 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Jun 2015 10:27:12 +0000 (19 12:27 +0200)
tree1cf88f779428cf20fce44e57e59d16e7f03a3c1e
parent06b008d941fd3e9684d38a9b3181a1cf301c78d1
tests: virtio-scsi: Add test for unaligned WRITE SAME

This is an exercise for virtio-scsi tests using the libqos virtio
library. A few common routines are added to facilitate future extensions
of the test set.

The added test case is a regression test for the bug in d7f4b1999e.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/virtio-scsi-test.c