qemu/include
Alberto Garcia 6e1000a863 block: Add bdrv_reopen_set_read_only()
Most callers of bdrv_reopen() only use it to switch a BlockDriverState
between read-only and read-write, so this patch adds a new function
that does just that.

We also want to get rid of the flags parameter in the bdrv_reopen()
API, so this function sets the "read-only" option and passes the
original flags (which will then be updated 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>
2018-12-14 11:55:01 +01:00
..
2018-12-13 13:06:09 +00:00
2018-11-27 15:35:15 +01:00
2018-12-04 11:06:15 +00:00
2018-12-11 15:45:22 -02:00
2018-12-14 11:52:41 +01:00
2018-12-11 15:45:22 -02:00
2018-10-29 15:47:32 +01:00