commit | de3b53f00761d32b7363f25135b0807d8927c0ec | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Oct 29 15:24:41 2015 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Dec 18 14:34:43 2015 +0100 |
tree | 2b5825b50a1dad54c472e7f35520904ef9453af5 | |
parent | 8e2160e2c75522554647e197e8b61622d6cf076f [diff] |
block: Split out parse_json_protocol() The next patch distinguishes options that were explicitly set and options that were derived. bdrv_fill_option() added options of both types: Options given by json: syntax should be counted as explicit, but the rest is derived. In preparation for the distinction, move json: parse to a separate function. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>