file-win32: Support .bdrv_co_create
authorKevin Wolf <kwolf@redhat.com>
Mon, 5 Feb 2018 15:24:32 +0000 (16:24 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 9 Mar 2018 14:17:47 +0000 (15:17 +0100)
commit3766ef579ce0bf6c8fff632a7f793833f35d2658
treea77370da021e7d13c05823c45e307ee2da68494f
parent927f11e1316c1cf96ab70d271f8b29d65dc75f7c
file-win32: Support .bdrv_co_create

This adds the .bdrv_co_create driver callback to file-win32, which
enables image creation over QMP.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/file-win32.c