qemu-e2k/hw/scsi
Pavel Hrdina 7721c7f7c2 scsi: reset cdrom tray statuses on scsi_disk_reset
Tray statuses should be also reset. Some guests may lock the tray and
right after resetting the guest it should be unlocked and closed. This
is done on power-on, reset and resume from suspend/hibernate on bare-metal.

This fix is already committed for IDE CD.
Check the commit a7f3d65b65.

Test results on bare-metal:
  - on reset/power-on the CD-ROM tray is closed even before the monitor
    is turned on
  - on resume from suspend/hibernate the tray is also closed before
    the monitor is turned on

From test results it seems that this behavior is OS and probably BIOS
independent.

Cc: qemu-stable@nongnu.org
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-06-18 12:43:03 +02:00
..
Makefile.objs vhost-scsi: new device supporting the tcm_vhost Linux kernel module 2013-04-19 16:18:11 +02:00
esp-pci.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
esp.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
lsi53c895a.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
megasas.c exec: eliminate qemu_put_ram_ptr 2013-05-24 18:42:19 +02:00
mfi.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
scsi-bus.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
scsi-disk.c scsi: reset cdrom tray statuses on scsi_disk_reset 2013-06-18 12:43:03 +02:00
scsi-generic.c
spapr_vscsi.c scsi: add bus_name parameter to scsi_bus_new. 2013-05-03 12:05:15 -05:00
srp.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vhost-scsi.c virtio: remove virtiobindings. 2013-04-24 11:50:20 -05:00
viosrp.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
virtio-scsi.c virtio-scsi: fix the command line compatibility. 2013-05-03 12:05:15 -05:00
vmw_pvscsi.c hw/scsi: Don't increment a boolean value 2013-06-11 23:45:44 +04:00
vmw_pvscsi.h scsi: VMWare PVSCSI paravirtual device implementation 2013-04-19 10:44:17 +02:00