diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-11-26 15:34:02 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:38 -0600 |
commit | aa5dbdc190644cf36e4e7fbd68b4e40e13209039 (patch) | |
tree | 1246232387f24d7792cd2a643f86521cec892f91 /hw/bitbang_i2c.c | |
parent | ec766865633be4a36803fa33ee518c4166cfc459 (diff) | |
download | qemu-aa5dbdc190644cf36e4e7fbd68b4e40e13209039.zip qemu-aa5dbdc190644cf36e4e7fbd68b4e40e13209039.tar.gz qemu-aa5dbdc190644cf36e4e7fbd68b4e40e13209039.tar.bz2 |
scsi-disk: restruct emulation: core + TEST_UNIT_READY.
Add new scsi_disk_emulate_command() function, which will -- when
finished -- handle all scsi disk command emulation except actual I/O
(READ+WRITE commands) which goes to the block layer. The function
builds on top of the new SCSIRequest struct.
SCSI command emulation code is moved over from scsi_send_command() in
steps to ease review and make it easier to pin down regressions (if any)
using bisect. This patch moves over TEST_UNIT_READY only.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/bitbang_i2c.c')
0 files changed, 0 insertions, 0 deletions