diff options
author | 2014-02-21 22:30:37 +0100 | |
---|---|---|
committer | 2014-02-21 22:32:24 +0100 | |
commit | 8a87f3d72279acb89f3d09b28d285d2fb6a7decf (patch) | |
tree | 30e695b2eb3e99c4277c8da9de8dcf768219da17 /scripts/qapi-commands.py | |
parent | quorum: Add unit test. (diff) | |
download | qemu-8a87f3d72279acb89f3d09b28d285d2fb6a7decf.tar.xz qemu-8a87f3d72279acb89f3d09b28d285d2fb6a7decf.zip |
quorum: Simplify quorum_open()
Although it may not look like it, this patch simplifies quorum_open().
qdict_array_split() is now able to return QLists with different objects
than only QDicts, therefore it will now do all the work and
quorum_open() does not have to handle reference strings by itself.
This allows mixing full option dicts and reference strings for
specifying the child block devices of quorum; furthermore, it improves
handling of malformed specifications.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions