Re: [Qemu-devel] [PATCH v3 23/38] blockdev: Pull out blockdev option extraction

2015-06-09 Thread Max Reitz
On 09.06.2015 02:37, Fam Zheng wrote: On Wed, 06/03 21:44, Max Reitz wrote: Extract some of the blockdev option extraction code from blockdev_init() into its own function. This simplifies blockdev_init() and will allow reusing the code in a different function added in a follow-up patch. Signed-

Re: [Qemu-devel] [PATCH v3 23/38] blockdev: Pull out blockdev option extraction

2015-06-08 Thread Fam Zheng
On Wed, 06/03 21:44, Max Reitz wrote: > Extract some of the blockdev option extraction code from blockdev_init() > into its own function. This simplifies blockdev_init() and will allow > reusing the code in a different function added in a follow-up patch. > > Signed-off-by: Max Reitz > Reviewed-b

[Qemu-devel] [PATCH v3 23/38] blockdev: Pull out blockdev option extraction

2015-06-03 Thread Max Reitz
Extract some of the blockdev option extraction code from blockdev_init() into its own function. This simplifies blockdev_init() and will allow reusing the code in a different function added in a follow-up patch. Signed-off-by: Max Reitz Reviewed-by: Eric Blake --- blockdev.c | 201 +