diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-06 15:09:51 -0400 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2018-06-08 13:36:25 -0400 |
| commit | bed9bcfa3275a9cfee82846a9f521c4858a9739a (patch) | |
| tree | 2a240e83cbbbf0438045e526abee224d0c9a1d9e /hw/ide/atapi.c | |
| parent | 956556e131e35f387ac482ad7b41151576fef057 (diff) | |
| download | focaccia-qemu-bed9bcfa3275a9cfee82846a9f521c4858a9739a.tar.gz focaccia-qemu-bed9bcfa3275a9cfee82846a9f521c4858a9739a.zip | |
ide: push end_transfer_func out of start_transfer callback, rename callback
Now that end_transfer_func is a tail call in ahci_start_transfer, formalize the fact that the callback (of which ahci_start_transfer is the sole implementation) takes care of the transfer too: rename it to pio_transfer and, if it is present, call the end_transfer_func as soon as it returns. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180606190955.20845-4-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/ide/atapi.c')
0 files changed, 0 insertions, 0 deletions