History | View | Annotate | Download (75.3 kB)
scsi: reset cdrom tray statuses on scsi_disk_reset
Tray statuses should be also reset. Some guests may lock the tray andright after resetting the guest it should be unlocked and closed. Thisis done on power-on, reset and resume from suspend/hibernate on bare-metal....
scsi-disk: scsi-block device for scsi pass-through should not be removable
This patch adds a new SCSI_DISK_F_NO_REMOVABLE_DEVOPS feature. By thisfeature we can set that the scsi-block (scsi pass-through) device will stillbe removable from the guest side, but from monitor it cannot be removed....
scsi: avoid assertion failure on VERIFY command
A verify command is not an actual read (we do not implementcompare mode) and thus does not have an AIOCB attached. Donot crash in scsi_dma_complete.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw: move target-independent files to subdirectories
This patch tackles all files that are compiled once, movingthem to subdirectories of hw/.