Skip to contentSkip to conversation

block.h: bdrv_create2 doesn't exist any more

PATCH In review Kevin Wolf 2 participants 2 messages Apr 13, 2010

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

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.

---
 block.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
block.h +0 -4
index 4a57dd5..05ad572 100644
@@ -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