virtio-scsi: actually honor sense_size from configuration space
commitaa7a6a399f8253d3831465b1db8544032b49f57a
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Mar 2014 10:18:53 +0000 (6 11:18 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Mar 2014 12:38:03 +0000 (14 13:38 +0100)
tree371bbd515032a5422f8580c0f1cd7f624b0f5c88
parent2e323f03bfa323636552b386c982412944ff86ae
virtio-scsi: actually honor sense_size from configuration space

We were always truncating the sense size to 96 bytes.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/virtio-scsi.c