commit | 81e705494f2915b7b6174bc5695d19ee4a083a85 | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <philmd@redhat.com> | Thu Mar 05 13:12:50 2020 +0100 |
committer | David Gibson <david@gibson.dropbear.id.au> | Tue Mar 17 15:08:50 2020 +1100 |
tree | 05e27356a4cdc7a6bbc420d70fd3ea90e193be63 | |
parent | 06109ab34edd59a853efede87d0296aa0c9b1105 [diff] |
hw/scsi/spapr_vscsi: Introduce req_iu() helper Introduce the req_iu() helper which returns a pointer to the viosrp_iu union held in the vscsi_req structure. This simplifies the next patch. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200305121253.19078-5-philmd@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>