diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-11-14 14:31:48 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-11-18 13:57:16 +0100 |
commit | 00a01ad47ae471a88cb64ccac6ed648c5c70d5f3 (patch) | |
tree | e56f04617071dbfe00e88133ab1dfe06f0d81f06 /hw/scsi-disk.c | |
parent | 2c20ae11adcfab94441da31460e86c6e15719084 (diff) |
scsi: update list of commands
Add more commands and their names, and remove SEEK(6) which is obsolete.
Instead, use SET_CAPACITY which is still in SSC.
Tested-by: Thomas Schmitt <scdbackup@gmx.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi-disk.c')
-rw-r--r-- | hw/scsi-disk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index 73de0f6814..0b06fefc1d 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -1374,10 +1374,8 @@ static int32_t scsi_send_command(SCSIRequest *req, uint8_t *buf) goto fail; } break; - case SEEK_6: case SEEK_10: - DPRINTF("Seek(%d) (sector %" PRId64 ")\n", command == SEEK_6 ? 6 : 10, - r->req.cmd.lba); + DPRINTF("Seek(10) (sector %" PRId64 ")\n", r->req.cmd.lba); if (r->req.cmd.lba > s->qdev.max_lba) { goto illegal_lba; } |