On Mon, Jun 06, 2011 at 06:04:18PM +0200, Paolo Bonzini wrote:
> +static SCSIRequest *scsi_new_request(SCSIDevice *d, DeviceState *initiator,
> + uint32_t tag, uint32_t lun)
> +{
> +SCSITargetState *s = DO_UPCAST(SCSITargetState, qdev, d);
> +SCSIRequest *re
This introduces a device that dispatches SCSI requests according to the
"LUN" field of a hierarchical LUN. In addition, the device always
processes REPORT LUNS commands, as well as commands for invalid and
well-known LUNs.
Finally, the device implements dummy INQUIRY emulation in case the
user se