summary refs log tree commit diff stats
path: root/qemu-io.c
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 /qemu-io.c
parentc7fc5bc2a4d89ccdb1ffabc720e7c87558c9aaef (diff)
downloadfocaccia-qemu-8a87f3d72279acb89f3d09b28d285d2fb6a7decf.tar.gz
focaccia-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 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions