Re: [Qemu-devel] [PATCH v2 7/9] block: Remove second bdrv_open() recursion

2014-06-25 Thread Eric Blake
On 06/25/2014 08:35 AM, Kevin Wolf wrote: > This recursion was introduced in commit 505d7583 in order to allow > nesting image formats. It only ever takes effect when the user > explicitly specifies a driver name and that driver isn't suitable for > the protocol level. > > We can check this earlie

[Qemu-devel] [PATCH v2 7/9] block: Remove second bdrv_open() recursion

2014-06-25 Thread Kevin Wolf
This recursion was introduced in commit 505d7583 in order to allow nesting image formats. It only ever takes effect when the user explicitly specifies a driver name and that driver isn't suitable for the protocol level. We can check this earlier in bdrv_open() and if the explicitly requested drive