Re: [Qemu-devel] [PATCH v2 5/8] block: Remove bdrv_new() from bdrv_file_open()

2014-02-10 Thread Benoît Canet
Le Saturday 08 Feb 2014 à 18:39:16 (+0100), Max Reitz a écrit : > Change bdrv_file_open() to take a simple pointer to an already existing > BDS instead of an indirect one. The BDS will be created in bdrv_open() > if necessary. > > Signed-off-by: Max Reitz > --- > block.c | 24 +--

[Qemu-devel] [PATCH v2 5/8] block: Remove bdrv_new() from bdrv_file_open()

2014-02-08 Thread Max Reitz
Change bdrv_file_open() to take a simple pointer to an already existing BDS instead of an indirect one. The BDS will be created in bdrv_open() if necessary. Signed-off-by: Max Reitz --- block.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/block.c