diff options
author | Ting Wang <kathy.wangting@huawei.com> | 2014-10-27 16:51:41 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-10-27 16:10:53 +0100 |
commit | b7890c40e557f4733b6fcd1eb79af79b70dc8c05 (patch) | |
tree | 7b1442d85faf61cc585b210475d50945f2cd5112 /hw/core/qdev.c | |
parent | 9aecd6f8aef653cea58932f06a2740299dbe5fd3 (diff) |
virtio-scsi: sense in virtio_scsi_command_complete
If req->resp.cmd.status is not GOOD, the address of sense for
qemu_iovec_from_buf should be modified from &req->resp to sense.
Cc: qemu-stable@nongnu.org
Signed-off-by: Ting Wang <kathy.wangting@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions