diff options
author | Alberto Garcia <berto@igalia.com> | 2016-09-15 17:53:01 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-09-23 13:36:10 +0200 |
commit | 9b7e8691670fab57c387b6955dc14a09696ae034 (patch) | |
tree | fc8224a956fc2cfc03a154ce906c32c87e31e37f /block/archipelago.c | |
parent | 14499ea5413be45bbb3934dd6fd8fa27c54c1dd4 (diff) | |
download | qemu-9b7e8691670fab57c387b6955dc14a09696ae034.tar.gz qemu-9b7e8691670fab57c387b6955dc14a09696ae034.tar.bz2 qemu-9b7e8691670fab57c387b6955dc14a09696ae034.zip |
block: Update bs->open_flags earlier in bdrv_open_common()
We're only doing this immediately before opening the image, but
bs->open_flags is used earlier in the function. At the moment this is
not causing problems because none of the checked flags are modified by
update_flags_from_options(), but this will change when we introduce
the "read-only" option.
This patch calls update_flags_from_options() at the beginning of the
function, immediately after creating the QemuOpts.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/archipelago.c')
0 files changed, 0 insertions, 0 deletions