summaryrefslogtreecommitdiffstats
path: root/scripts/modules
diff options
context:
space:
mode:
authorAlberto Garcia2018-11-12 15:00:36 +0100
committerKevin Wolf2018-12-14 11:55:01 +0100
commitc742a3643f113fe92cf904dd897fa03c2784d30d (patch)
tree7479d0f5f9825431f7eac075449389aee4fe625e /scripts/modules
parentblock: Use bdrv_reopen_set_read_only() in commit_start/complete() (diff)
downloadqemu-c742a3643f113fe92cf904dd897fa03c2784d30d.tar.gz
qemu-c742a3643f113fe92cf904dd897fa03c2784d30d.tar.xz
qemu-c742a3643f113fe92cf904dd897fa03c2784d30d.zip
block: Use bdrv_reopen_set_read_only() in bdrv_commit()
This patch replaces the bdrv_reopen() calls that set and remove the BDRV_O_RDWR flag with the new bdrv_reopen_set_read_only() function. 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/modules')
0 files changed, 0 insertions, 0 deletions