]> xenbits.xensource.com Git - libvirt.git/commit
qemuMigrationDstPrecreateDisk: Refactor cleanup
authorPeter Krempa <pkrempa@redhat.com>
Thu, 8 Feb 2024 15:48:17 +0000 (16:48 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 21 Feb 2024 13:15:48 +0000 (14:15 +0100)
commite42a3935acc2c1778a220727ecdfb318eee005fd
tree30f7e2789d6be538dd61d958778633bbbd822039
parent00c0a94ab5f135ea7d9f0a905ff53d13c82761db
qemuMigrationDstPrecreateDisk: Refactor cleanup

Automatically free helper variables, remove the 'cleanup' label and
use virBufferCurrentContent() to take the XML from the buffer rather
than extracting it to a separate variable.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration.c