Searched hist:"76 c591b013782217cad67b35c74cd249e0413439" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 76c591b013782217cad67b35c74cd249e0413439 Wed Jun 04 07:19:44 CDT 2014 Kevin Wolf <kwolf@redhat.com> block: Remove second bdrv_open() recursion
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 driver is a format driver, clear BDRV_O_PROTOCOL so that another bs->file layer is opened.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|