diff options
| author | Michael S. Tsirkin | 2015-03-11 14:31:29 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-03-11 18:24:29 +0100 |
| commit | 03325525c3a607825ab67bf36bffaa5cf8447df2 (patch) | |
| tree | 07bd152f6cadbd53aee93b3d9d5bd56231304a79 /scripts | |
| parent | uapi/virtio_scsi: allow overriding CDB/SENSE size (diff) | |
| download | qemu-03325525c3a607825ab67bf36bffaa5cf8447df2.tar.gz qemu-03325525c3a607825ab67bf36bffaa5cf8447df2.tar.xz qemu-03325525c3a607825ab67bf36bffaa5cf8447df2.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
