]> git.ipfire.org Git - thirdparty/qemu.git/commit
scsi: Support TEST UNIT READY in the dummy LUN0
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Jan 2014 12:06:13 +0000 (13:06 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 21 Feb 2014 06:34:40 +0000 (00:34 -0600)
commit6b7ed87665736c40bc5a001656248698e4402899
tree516b2ed09d36f5face52a8a8d4e9ed10b9b64336
parentb54720b5d65efaa10bf5f992e623accb80a5a573
scsi: Support TEST UNIT READY in the dummy LUN0

SeaBIOS waits for LUN0 to respond to the TEST UNIT READY command
in order to decide whether it should part of the boot sequence.
If LUN0 does not respond to the command, boot is delayed by up
to 5 seconds.  This currently happens when there is no LUN0 on
a target.  Fix that by adding a trivial implementation of the
command.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 1cb27d9233d572826b45bd8498d2fab1b6f01df9)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/scsi/scsi-bus.c