Message ID | 878ti9nvbk.fsf@dusky.pond.sub.org |
---|---|
State | New |
Headers | show |
diff --git a/block/file-win32.c b/block/file-win32.c index f2a1830..639221b 100644 --- a/block/file-win32.c +++ b/block/file-win32.c @@ -302,7 +302,8 @@ static bool get_aio_option(QemuOpts *opts, int flags, Error **errp) aio_default = (flags & BDRV_O_NATIVE_AIO) ? BLOCKDEV_AIO_OPTIONS_NATIVE : BLOCKDEV_AIO_OPTIONS_THREADS; - aio = qapi_enum_parse(BlockdevAioOptions_lookup, qemu_opt_get(opts, "aio"), + aio = qapi_enum_parse(&BlockdevAioOptions_lookup, + qemu_opt_get(opts, "aio"), aio_default, errp); switch (aio) {