[PATCH v2 04/15] scsi: Move core emulation state into a new struct