aboutsummaryrefslogtreecommitdiff
path: root/qemu.nsi
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2018-11-12 16:00:45 +0200
committerKevin Wolf <kwolf@redhat.com>2018-12-14 11:55:02 +0100
commit9aa09ddd1edf1256cb6e4e23293720fee130f07c (patch)
tree694d3a741816fb651e87bfc4559d6307e3a3e386 /qemu.nsi
parent2e891722c5e3d0372e042173a425925e14749bf0 (diff)
downloadqemu-9aa09ddd1edf1256cb6e4e23293720fee130f07c.zip
qemu-9aa09ddd1edf1256cb6e4e23293720fee130f07c.tar.gz
qemu-9aa09ddd1edf1256cb6e4e23293720fee130f07c.tar.bz2
block: Stop passing flags to bdrv_reopen_queue_child()
Now that all callers are passing the new options using the QDict we no longer need the 'flags' parameter. This patch makes the following changes: 1) The update_options_from_flags() call is no longer necessary so it can be removed. 2) The update_flags_from_options() call is now used in all cases, and is moved down a few lines so it happens after the options QDict contains the final set of values. 3) The flags parameter is removed. Now the flags are initialized using the current value (for the top-level node) or the parent flags (after inherit_options()). In both cases the initial values are updated to reflect the new options in the QDict. This happens in bdrv_reopen_queue_child() (as explained above) and in bdrv_reopen_prepare(). 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 'qemu.nsi')
0 files changed, 0 insertions, 0 deletions