summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-02-21 22:30:37 +0100
committerKevin Wolf <kwolf@redhat.com>2014-02-21 22:32:24 +0100
commit8a87f3d72279acb89f3d09b28d285d2fb6a7decf (patch)
tree30e695b2eb3e99c4277c8da9de8dcf768219da17 /tests/qemu-iotests
parentc7fc5bc2a4d89ccdb1ffabc720e7c87558c9aaef (diff)
downloadqemu-8a87f3d72279acb89f3d09b28d285d2fb6a7decf.tar.gz
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 'tests/qemu-iotests')
0 files changed, 0 insertions, 0 deletions