Message ID | 20170704220346.29244-35-marcandre.lureau@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/block/vhdx.c b/block/vhdx.c index 8b270b57c9..56b54f3ed7 100644 --- a/block/vhdx.c +++ b/block/vhdx.c @@ -1787,7 +1787,8 @@ exit: * .---- ~ ----------- ~ ------------ ~ ---------------- ~ -----------. * 1MB */ -static int vhdx_create(const char *filename, QemuOpts *opts, Error **errp) +static int coroutine_fn +vhdx_create(const char *filename, QemuOpts *opts, Error **errp) { int ret = 0; uint64_t image_size = (uint64_t) 2 * GiB;
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> --- block/vhdx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)