commit | 314a329906d5238ab5993da95516fc5c40f58f54 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Feb 08 10:26:21 2012 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 26 17:44:09 2012 +0200 |
tree | affb9fabef8e72be55f6d65bce5c5907c9791b97 | |
parent | b08d0ea0446aa91f373c9df4254ba3bc4ee84098 [diff] |
scsi-disk: separate read_data/write_data implementation for emulate_reqops The previous patch only separated the send_command callback. Use different implementations also for read_data and write_data. The latter is still unreachable, so it aborts for now. read_data passes the data buffer that was prepared and completes the command. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>