]> git.proxmox.com Git - qemu.git/commit
vscsi: always use get_sense
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Aug 2011 08:49:05 +0000 (10:49 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 12 Aug 2011 13:27:00 +0000 (08:27 -0500)
commit05751d3ff7d3c12d1468002886a71453491481ce
tree0c241bf46a98b97bb88b8f9a12fe48630c9f1b7f
parente44089c79da29ba026d0083e1428b4e82763eeab
vscsi: always use get_sense

vscsi supports autosensing by providing sense data directly in the
response.  When get_sense was added, the older state machine approach
that sent REQUEST SENSE commands separately was left in place.  Remove
it, all existing SCSIDevices do support autosensing and the next patches
will make the support come for free from the SCSIBus.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/spapr_vscsi.c