* [Qemu-devel] [PATCH] block.h: bdrv_create2 doesn't exist any more
@ 2010-04-13 10:43 Kevin Wolf
2010-04-13 21:36 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Wolf @ 2010-04-13 10:43 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf
The bdrv_create2 implementation has been disappeared long ago. Remove its
prototype from the header file, too.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
block.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/block.h b/block.h
index 4a57dd5..05ad572 100644
--- a/block.h
+++ b/block.h
@@ -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);
--
1.6.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] block.h: bdrv_create2 doesn't exist any more
2010-04-13 10:43 [Qemu-devel] [PATCH] block.h: bdrv_create2 doesn't exist any more Kevin Wolf
@ 2010-04-13 21:36 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2010-04-13 21:36 UTC (permalink / raw)
To: Kevin Wolf; +Cc: qemu-devel
On Tue, Apr 13, 2010 at 12:43:40PM +0200, Kevin Wolf wrote:
> The bdrv_create2 implementation has been disappeared long ago. Remove its
> prototype from the header file, too.
>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Looks good.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-13 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-13 10:43 [Qemu-devel] [PATCH] block.h: bdrv_create2 doesn't exist any more Kevin Wolf
2010-04-13 21:36 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).