diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-05-19 11:07:59 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-15 17:17:09 +0200 |
commit | 880d3089f1c667d7c84730ba9e9a2518220f7caf (patch) | |
tree | ad56d5e543fe0d25e5e54812f9376521c572b1d7 /qemu-io-cmds.c | |
parent | af947a3d853a235943681a00f07f3081f5143cc3 (diff) | |
download | qemu-880d3089f1c667d7c84730ba9e9a2518220f7caf.zip qemu-880d3089f1c667d7c84730ba9e9a2518220f7caf.tar.gz qemu-880d3089f1c667d7c84730ba9e9a2518220f7caf.tar.bz2 |
esp: allow non-DMA callback in esp_transfer_data() initial transfer
The current implementation only resumes DMA transfers when incoming data is
received from the target device, but this is also required for non-DMA transfers
with the next set of non-DMA changes.
Rather than duplicate the DMA/non-DMA dispatch logic in the initial transfer
section, update the code so that the initial transfer section can just
fallthrough to the main DMA/non-DMA dispatch logic.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20210519100803.10293-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions