summary refs log tree commit diff stats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2018-11-12 16:00:42 +0200
committerKevin Wolf <kwolf@redhat.com>2018-12-14 11:55:02 +0100
commitdc900c35239bc865df2dff5880eabcd25b974f19 (patch)
tree704618871eedbc497acf63e3ec9375240b0f4dc2 /scripts/qapi/types.py
parent295cf237c2e5112de3e2aa7c3dbc80580b80bf88 (diff)
downloadfocaccia-qemu-dc900c35239bc865df2dff5880eabcd25b974f19.tar.gz
focaccia-qemu-dc900c35239bc865df2dff5880eabcd25b974f19.zip
qemu-io: Put flag changes in the options QDict in reopen_f()
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 <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions