diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-11-22 13:40:00 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-12-03 15:26:49 +0100 |
commit | 823bd7391c96ba675f20fd6d952d1cb6e1ffb851 (patch) | |
tree | 308ebd269f72540836ee4bee171280b0141fa18b /qtest.c | |
parent | c5fd1fb038405ed13496761970b3b531f747a892 (diff) | |
download | hqemu-823bd7391c96ba675f20fd6d952d1cb6e1ffb851.zip hqemu-823bd7391c96ba675f20fd6d952d1cb6e1ffb851.tar.gz |
scsi-disk: reject ANCHOR=1 for UNMAP and WRITE SAME commands
Since we report ANC_SUP==0 in VPD page B2h, we need to return
an error (ILLEGAL REQUEST/INVALID FIELD IN CDB) for all WRITE SAME
requests with ANCHOR==1.
Inspired by a similar patch to the LIO in-kernel target.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qtest.c')
0 files changed, 0 insertions, 0 deletions