Re: [Qemu-devel] [PATCH 06/10] block: Remove bdrv_new() from bdrv_file_open()

2014-01-31 Thread Max Reitz
On 29.01.2014 14:35, Kevin Wolf wrote: Am 26.01.2014 um 20:02 hat Max Reitz geschrieben: 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 mre...@redhat.com ---

Re: [Qemu-devel] [PATCH 06/10] block: Remove bdrv_new() from bdrv_file_open()

2014-01-29 Thread Kevin Wolf
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben: 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 mre...@redhat.com --- block.c | 29

[Qemu-devel] [PATCH 06/10] block: Remove bdrv_new() from bdrv_file_open()

2014-01-26 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 mre...@redhat.com --- block.c | 29 ++--- 1 file changed, 18 insertions(+), 11

Re: [Qemu-devel] [PATCH 06/10] block: Remove bdrv_new() from bdrv_file_open()

2014-01-26 Thread Benoît Canet
Le Sunday 26 Jan 2014 à 20:02:39 (+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 mre...@redhat.com --- block.c | 29