diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2015-03-11 14:31:29 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2015-03-11 18:24:29 +0100 |
| commit | 03325525c3a607825ab67bf36bffaa5cf8447df2 (patch) | |
| tree | 07bd152f6cadbd53aee93b3d9d5bd56231304a79 /include/qemu/queue.h | |
| parent | 2106ba30105969262a7810417a57524d9a225b91 (diff) | |
| download | focaccia-qemu-03325525c3a607825ab67bf36bffaa5cf8447df2.tar.gz focaccia-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 'include/qemu/queue.h')
0 files changed, 0 insertions, 0 deletions