]> git.baikalelectronics.ru Git - kernel.git/commit
target: Handle GET_EVENT_STATUS_NOTIFICATION passthrough
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 30 Apr 2012 15:35:13 +0000 (16:35 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 6 May 2012 22:02:33 +0000 (15:02 -0700)
commit7756ceec3806acc320e04b3e1f70a688d66ac93e
tree0a96bd9c6f20e936908407a60a2501bee6f541e1
parent973f374389b247323c6174b2f6cbd6e6c04b8aa1
target: Handle GET_EVENT_STATUS_NOTIFICATION passthrough

The SCSI MMC GET_EVENT_STATUS_NOTIFICATION command can be used to find
out about media change, among other things.  This patch adds it to the
command sequencer so that PSCSI CD-ROM passthrough works with modern
Linux guests that issue this command.

Tested-by: Cong Meng <mengcong@cn.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c