diff options
author | Fam Zheng <famz@redhat.com> | 2016-06-27 14:28:31 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2016-06-27 14:28:31 -0400 |
commit | 0d0437aac6dc94bdc1601968bbb9e623e34bd3e7 (patch) | |
tree | 1d4990fc37d8200bf045720b8004cbb8300f16e6 | |
parent | 14e60aaece20a1cfc059a69f6491b0899f9257a8 (diff) | |
download | qemu-0d0437aac6dc94bdc1601968bbb9e623e34bd3e7.tar.gz qemu-0d0437aac6dc94bdc1601968bbb9e623e34bd3e7.tar.bz2 qemu-0d0437aac6dc94bdc1601968bbb9e623e34bd3e7.zip |
macio: Use blk_drain instead of blk_drain_all
We only care about the associated backend, so blk_drain is more
appropriate here.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20160612065603.21911-1-famz@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
-rw-r--r-- | hw/ide/macio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c index fa57352fc8..56cc50661f 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -406,7 +406,7 @@ static void pmac_ide_flush(DBDMA_io *io) IDEState *s = idebus_active_if(&m->bus); if (s->bus->dma->aiocb) { - blk_drain_all(); + blk_drain(s->blk); } } |