Re: [Qemu-devel] [PATCH V4] block: introduce BlockDriver.bdrv_needs_filename to enable some drivers.

2013-09-25 Thread Kevin Wolf
Am 24.09.2013 um 17:21 hat Eric Blake geschrieben: > On 09/24/2013 09:07 AM, Benoît Canet wrote: > > Some drivers will have driver specifics options but no filename. > > This new bool allow the block layer to treat them correctly. > > > > The .bdrv_needs_filename is set in drivers not having .bdrv

Re: [Qemu-devel] [PATCH V4] block: introduce BlockDriver.bdrv_needs_filename to enable some drivers.

2013-09-24 Thread Eric Blake
On 09/24/2013 09:07 AM, Benoît Canet wrote: > Some drivers will have driver specifics options but no filename. > This new bool allow the block layer to treat them correctly. > > The .bdrv_needs_filename is set in drivers not having .bdrv_parse_filename and > not having .bdrv_open. > > The first e

[Qemu-devel] [PATCH V4] block: introduce BlockDriver.bdrv_needs_filename to enable some drivers.

2013-09-24 Thread Benoît Canet
Some drivers will have driver specifics options but no filename. This new bool allow the block layer to treat them correctly. The .bdrv_needs_filename is set in drivers not having .bdrv_parse_filename and not having .bdrv_open. The first exception to this rule will be the quorum driver. Signed-o