commit | 03325525c3a607825ab67bf36bffaa5cf8447df2 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Wed Mar 11 14:31:29 2015 +0100 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Mar 11 18:24:29 2015 +0100 |
tree | 07bd152f6cadbd53aee93b3d9d5bd56231304a79 | |
parent | 2106ba30105969262a7810417a57524d9a225b91 [diff] |
virtio-scsi: fix cdb/sense size Commit "virtio-scsi: use standard-headers" added cdb and sense into req/rep structures, which breaks uses of sizeof for these structures, since qemu adds its own arrays on top. To fix, redefine CDB/sense field size to 0. Reported-by: Fam Zheng <famz@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>