Re: [Qemu-devel] [PATCH 4/7] block: Add options QDict to bdrv_open_common()

2013-03-04 Thread Stefan Hajnoczi
On Fri, Mar 01, 2013 at 09:13:38PM +0100, Kevin Wolf wrote: > diff --git a/block.c b/block.c > index bf93dd1..e0e3b99 100644 > --- a/block.c > +++ b/block.c > @@ -665,15 +665,18 @@ static int bdrv_open_flags(BlockDriverState *bs, int > flags) > > /* > * Common part for opening disk images and

Re: [Qemu-devel] [PATCH 4/7] block: Add options QDict to bdrv_open_common()

2013-03-01 Thread Eric Blake
On 03/01/2013 01:13 PM, Kevin Wolf wrote: > The options are passed down to the block drivers, which are supposed to > remove all options they have processed. Anything that is left over in > the end is an unknown option and results in an error. > > Signed-off-by: Kevin Wolf > --- > block.c | 32 +

[Qemu-devel] [PATCH 4/7] block: Add options QDict to bdrv_open_common()

2013-03-01 Thread Kevin Wolf
The options are passed down to the block drivers, which are supposed to remove all options they have processed. Anything that is left over in the end is an unknown option and results in an error. Signed-off-by: Kevin Wolf --- block.c | 32 ++-- 1 file changed, 26 inse