scsi: fill in additional sense length correctly
commiteae31cb99810c362955f37f82573f2e3849bcd32
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Sep 2011 10:31:43 +0000 (6 12:31 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 6 Sep 2011 13:28:37 +0000 (6 15:28 +0200)
treeff8b7b25294ad70e4167fc0750f068aefe423a1a
parentf651526271fb0b3d12f07f0810d80512edf384ad
scsi: fill in additional sense length correctly

Even though we do not use them, we should include the last three
bytes of sense data in the additional sense length.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-bus.c