aio-win32.c (5710a3e0) aio-win32.c (ba607ca8)
1/*
2 * QEMU aio implementation
3 *
4 * Copyright IBM Corp., 2008
5 * Copyright Red Hat Inc., 2012
6 *
7 * Authors:
8 * Anthony Liguori <aliguori@us.ibm.com>

--- 400 unchanged lines hidden (view full) ---

409void aio_context_setup(AioContext *ctx)
410{
411}
412
413void aio_context_destroy(AioContext *ctx)
414{
415}
416
1/*
2 * QEMU aio implementation
3 *
4 * Copyright IBM Corp., 2008
5 * Copyright Red Hat Inc., 2012
6 *
7 * Authors:
8 * Anthony Liguori <aliguori@us.ibm.com>

--- 400 unchanged lines hidden (view full) ---

409void aio_context_setup(AioContext *ctx)
410{
411}
412
413void aio_context_destroy(AioContext *ctx)
414{
415}
416
417void aio_context_use_g_source(AioContext *ctx)
418{
419}
420
417void aio_context_set_poll_params(AioContext *ctx, int64_t max_ns,
418 int64_t grow, int64_t shrink, Error **errp)
419{
420 if (max_ns) {
421 error_setg(errp, "AioContext polling is not implemented on Windows");
422 }
423}
421void aio_context_set_poll_params(AioContext *ctx, int64_t max_ns,
422 int64_t grow, int64_t shrink, Error **errp)
423{
424 if (max_ns) {
425 error_setg(errp, "AioContext polling is not implemented on Windows");
426 }
427}