]> Git Repo - qemu.git/commit
qemu-io: Put flag changes in the options QDict in reopen_f()
authorAlberto Garcia <[email protected]>
Mon, 12 Nov 2018 14:00:42 +0000 (16:00 +0200)
committerKevin Wolf <[email protected]>
Fri, 14 Dec 2018 10:55:02 +0000 (11:55 +0100)
commitdc900c35239bc865df2dff5880eabcd25b974f19
tree704618871eedbc497acf63e3ec9375240b0f4dc2
parent295cf237c2e5112de3e2aa7c3dbc80580b80bf88
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 <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
qemu-io-cmds.c
tests/qemu-iotests/133
tests/qemu-iotests/133.out
This page took 0.025878 seconds and 4 git commands to generate.