[Qemu-devel] Re: [PATCH] block: Split bdrv_open

2010-04-14 Thread Kevin Wolf
Am 13.04.2010 20:20, schrieb Christoph Hellwig: On Mon, Apr 12, 2010 at 04:49:16PM +0200, Kevin Wolf wrote: bdrv_open contains quite some code that is only useful for opening images (as opposed to opening files by a protocol), for example snapshots. This patch splits the code so that we have

[Qemu-devel] Re: [PATCH] block: Split bdrv_open

2010-04-13 Thread Christoph Hellwig
On Mon, Apr 12, 2010 at 04:49:16PM +0200, Kevin Wolf wrote: bdrv_open contains quite some code that is only useful for opening images (as opposed to opening files by a protocol), for example snapshots. This patch splits the code so that we have bdrv_open_file() for files (uses protocols),