block.h: bdrv_create2 doesn't exist any more
PATCH 1/1 block.h: bdrv_create2 doesn't exist any more
The bdrv_create2 implementation has been disappeared long ago. Remove its prototype from the header file, too.
Signed-off-by Kevin Wolf <[email protected]>
--- block.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
block.h +0 -4
@@ -57,10 +57,6 @@ BlockDriver *bdrv_find_format(const char *format_name);BlockDriver *bdrv_find_whitelisted_format (const char *format_name);int bdrv_create (BlockDriver *drv,const char * filename,QEMUOptionParameter *options); -int bdrv_create2 (BlockDriver *drv, -const char *filename,int64_t size_in_sectors, -const char *backing_file,const char *backing_format, -int flags);BlockDriverState *bdrv_new (const char *device_name);void bdrv_delete (BlockDriverState *bs);int bdrv_file_open (BlockDriverState **pbs,const char *filename,int flags);
Signature · 1 line
1.6.6.1
Quoted 4 lines · Kevin Wolf
The
bdrv_create2implementation has been disappeared long ago. Remove its prototype from the header file, too.Signed-off-by Kevin Wolf <[email protected]>
Looks good.