[Qemu-devel] [PATCH 1/5] block: Keep "filename" option after parsing

2014-03-05 Thread Max Reitz
Currently, bdrv_file_open() always removes the "filename" option from the options QDict after bdrv_parse_filename() has been (successfully) called. However, for drivers with bdrv_needs_filename, it makes more sense for bdrv_parse_filename() to overwrite the "filename" option and for bdrv_file_open(

Re: [Qemu-devel] [PATCH 1/5] block: Keep "filename" option after parsing

2014-03-06 Thread Benoît Canet
The Wednesday 05 Mar 2014 à 22:41:36 (+0100), Max Reitz wrote : > Currently, bdrv_file_open() always removes the "filename" option from > the options QDict after bdrv_parse_filename() has been (successfully) > called. However, for drivers with bdrv_needs_filename, it makes more > sense for bdrv_par