]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Rework qemuMigrationSrcConnect
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 24 Aug 2020 20:29:14 +0000 (22:29 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 4 Sep 2020 08:20:49 +0000 (10:20 +0200)
commitd17ece4dd475ef79677f614b23c9306a3ff4ec25
treeee14c4bd49cde5feef45cd647683b5e9d2496b4e
parentae200449fe5cb4dadd945fb790e632f69fede7f4
qemu: Rework qemuMigrationSrcConnect

Instead of saving some data from a union up front and changing an overlayed
struct before using said data, let's just set the new values after they are
decided.  This will increase the readability of future commit(s).

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_migration.c