qemu-img and qemu-io try to detect when you use both -U and force-share manually, but a conflict is not rejected with an error message but with a segmentation fault. I guess that works, but it's probably not the way it was meant to be.
Max Reitz (3): qemu-io: Use purely string blockdev options qemu-img: Use only string options in img_open_opts iotests: Add test for -U/force-share conflicts qemu-img.c | 4 ++-- qemu-io.c | 4 ++-- tests/qemu-iotests/153 | 17 +++++++++++++++++ tests/qemu-iotests/153.out | 16 ++++++++++++++++ 4 files changed, 37 insertions(+), 4 deletions(-) -- 2.14.3