Message ID | 20170704220346.29244-36-marcandre.lureau@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/block/vpc.c b/block/vpc.c index 4240ba9d1c..1b4aba20bd 100644 --- a/block/vpc.c +++ b/block/vpc.c @@ -872,7 +872,8 @@ static int create_fixed_disk(BlockBackend *blk, uint8_t *buf, return ret; } -static int vpc_create(const char *filename, QemuOpts *opts, Error **errp) +static int coroutine_fn +vpc_create(const char *filename, QemuOpts *opts, Error **errp) { uint8_t buf[1024]; VHDFooter *footer = (VHDFooter *) buf;
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> --- block/vpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)