[stgt] [PATCH] Fix broken MMC emulation

Ronnie Sahlberg ronniesahlberg at gmail.com
Wed Aug 20 05:00:08 CEST 2014


List, Tomo,

Please find a patch that repairs MMC.

MMC emulation has been broken for a while, and it saddens me that no one
has complained since it means no one is using it :-(


We need to add the MMC specific opcodes to the map of SUPPORTED_OPCODES we
build for the MMC backend since we share this backend with SBC.
Otherwise the target will return INVALID_OPCODE for some of the key
opcodes needed for the medium discovery.

With this patch MMC emulation works again.


Ronnie Sahlberg (1):
  bs_rdwr.c: add missing MMC opcodes to the backing store defs

 usr/bs_rdwr.c |   10 ++++++++++
 usr/scsi.h    |    9 +++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

-- 
1.7.3.1

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list