mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 14:23:53 -06:00
aio: Get rid of qemu_aio_flush()
There are no remaining users, and new users should probably be using bdrv_drain_all() in the first place. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d318aea932
commit
c57b6656c3
6 changed files with 5 additions and 20 deletions
5
async.c
5
async.c
|
@ -215,8 +215,3 @@ void aio_context_unref(AioContext *ctx)
|
|||
{
|
||||
g_source_unref(&ctx->source);
|
||||
}
|
||||
|
||||
void aio_flush(AioContext *ctx)
|
||||
{
|
||||
while (aio_poll(ctx, true));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue