]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainBlockResize: Agregate all checks at the beginning
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Dec 2023 15:55:59 +0000 (16:55 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 14 Dec 2023 15:06:23 +0000 (16:06 +0100)
commit59ec4c66194cf481906d51a9d0551dc76c10e95e
tree060c6ec69683efc9b7a70a46927905060ce5f930
parentb600b69f8291226095e0fdb2eb7503baa79063fc
qemuDomainBlockResize: Agregate all checks at the beginning

Move the check for readonly and empty disks to the top where all other
checks will be done.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c