On 09/06/2015 12:13, Stefan Hajnoczi wrote: > On Fri, Apr 24, 2015 at 07:35:15PM +0800, Fam Zheng wrote: >> v2: Fix CDB for WRITE SAME. [Paolo] >> >> Thanks to Marc MarĂ's work on libqos virtio support, it's now >> very easy to add a test case to drive a virtio-scsi device. >> >> The added test covers the recent fix for unaligned zero write in >> block layer, we exercise it here with scsi-disk WRITE SAME. >> >> >> Fam Zheng (5): tests: Link libqos virtio object to >> virtio-scsi-test libqos: Allow calling guest_free on NULL >> pointer libqos: Complete virtio device ID definition list tests: >> virtio-scsi: Move start/stop to individual test functions tests: >> virtio-scsi: Add test for unaligned WRITE SAME >> >> tests/Makefile | 2 +- tests/libqos/malloc.c | 3 >> + tests/libqos/virtio.h | 10 ++- tests/virtio-scsi-test.c | >> 201 +++++++++++++++++++++++++++++++++++++++++++++-- 4 files >> changed, 207 insertions(+), 9 deletions(-) > > Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> > > I think Andreas is traveling and may be offline. Probably best to > take this through Paolo's SCSI tree.
Ok, will do. Paolo