scsi-disk: restruct emulation: ALLOW_MEDIUM_REMOVAL
commitc68b9f34c136ce4ff77fc165227596b267e15fa1
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Nov 2009 14:34:08 +0000 (26 15:34 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:39 +0000 (3 09:41 -0600)
tree825966676109001a29a8f017ce17e4fa6762ee17
parent8d3628fff4131775dd4b7ad1748e0deb0b53aae8
scsi-disk: restruct emulation: ALLOW_MEDIUM_REMOVAL

Move ALLOW_MEDIUM_REMOVAL emulation from scsi_send_command() to
scsi_disk_emulate_command().

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/scsi-disk.c