From 9f977ef7b671f6169eca78bf40f230fe84b7c7e5 Mon Sep 17 00:00:00 2001 From: Nicholas Bellinger Date: Tue, 10 Jun 2014 01:19:38 -0700 Subject: [PATCH] vhost-scsi: Include prot_bytes into expected data transfer length This patch updates vhost_scsi_get_tag() to accept the combined expected data transfer length + T10 PI bytes as the value passed into target_submit_cmd(). This is required now that target-core logic in commit 14ef9200 expects to subtract se_cmd->prot_length from se_cmd->data_length. Cc: Paolo Bonzini Cc: Michael S. Tsirkin Cc: Martin K. Petersen Cc: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-format-patch failed