diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-08-13 15:44:45 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-10-28 19:25:51 +0200 |
commit | afd4030c16d290e460cc93f8f9e353516b5451a2 (patch) | |
tree | 230de2da3d036bb6cdc28d940d826856bfdd1606 /hw/scsi-disk.c | |
parent | 3c2f7c12c2e19707cb4e28dd57180f7be3dd4950 (diff) | |
download | qemu-afd4030c16d290e460cc93f8f9e353516b5451a2.zip qemu-afd4030c16d290e460cc93f8f9e353516b5451a2.tar.gz qemu-afd4030c16d290e460cc93f8f9e353516b5451a2.tar.bz2 |
scsi: move tcq/ndev to SCSIBusOps (now SCSIBusInfo)
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index dd2b605..50fc3d6 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -564,7 +564,7 @@ static int scsi_disk_emulate_inquiry(SCSIRequest *req, uint8_t *outbuf) } /* Sync data transfer and TCQ. */ - outbuf[7] = 0x10 | (req->bus->tcq ? 0x02 : 0); + outbuf[7] = 0x10 | (req->bus->info->tcq ? 0x02 : 0); return buflen; } |