mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
qemu-io: Use bdrv_drain_all instead of qemu_aio_flush
This is harmless as of today because I/O throttling is not used in qemu-io, however as soon as .bdrv_drain handlers will be introduced, qemu-io must be sure to call bdrv_drain_all(). Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
b618f4a1c1
commit
e7c8b094c2
1 changed files with 1 additions and 1 deletions
|
@ -1362,7 +1362,7 @@ static int aio_write_f(int argc, char **argv)
|
|||
|
||||
static int aio_flush_f(int argc, char **argv)
|
||||
{
|
||||
qemu_aio_flush();
|
||||
bdrv_drain_all();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue