mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
e437016511
This will be used by BDRV_POLL_WHILE (and thus by bdrv_drain) to choose how to wait for I/O completion. Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <1477565348-5458-12-git-send-email-pbonzini@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com>
8 lines
162 B
C
8 lines
162 B
C
#include "qemu/osdep.h"
|
|
#include "block/aio.h"
|
|
#include "qemu/main-loop.h"
|
|
|
|
AioContext *qemu_get_current_aio_context(void)
|
|
{
|
|
return qemu_get_aio_context();
|
|
}
|