]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Move qcow2_update_options() call up
authorKevin Wolf <kwolf@redhat.com>
Thu, 16 Apr 2015 09:36:10 +0000 (11:36 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Sep 2015 14:51:36 +0000 (16:51 +0200)
commit90efa0eaef2d1bbd161db6fd7a74d8e5a00d35a8
tree7d0dc337ca9f9b4bd12a94baf535d9fdb6bbd78b
parent4c75d1a157a6a0a6163c31f775b5e8ee5dd29f11
qcow2: Move qcow2_update_options() call up

qcow2_update_options() only updates some variables in BDRVQcowState and
doesn't really depend on other parts of it being initialised yet, so it
can be moved so that it immediately follows the other half of option
handling code in qcow2_open().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/qcow2.c