On 07.11.18 13:59, Alberto Garcia wrote: > When reopen_f() puts a block device in the reopen queue, some of the > new options are passed using a QDict, but others ("read-only" and the > cache options) are passed as flags. > > This patch puts those flags in the QDict. This way the flags parameter > becomes redundant and we'll be able to get rid of it in a subsequent > patch. > > Signed-off-by: Alberto Garcia > --- > qemu-io-cmds.c | 27 ++++++++++++++++++++++++++- > tests/qemu-iotests/133 | 9 +++++++++ > tests/qemu-iotests/133.out | 8 ++++++++ > 3 files changed, 43 insertions(+), 1 deletion(-) Reviewed-by: Max Reitz