]> xenbits.xensource.com Git - libvirt.git/commit
qemu: migration: Aggregate logic depending on tunnelled migration
authorPeter Krempa <pkrempa@redhat.com>
Tue, 24 Nov 2020 07:11:18 +0000 (08:11 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 24 Nov 2020 16:59:26 +0000 (17:59 +0100)
commitb907b90e67eaef2ff1bd98ec15b6aac3170b087b
treeecb051f0faee3ed2deec56df037ea09cb7f850a5
parent45a84971fb857443c2a6dbb89b6dde41dc6912bc
qemu: migration: Aggregate logic depending on tunnelled migration

Move and aggregate all the logic which is switched based on whether the
migration is tunnelled or not before other checks. Further checks will
be added later.

While the code is being moved the error message is put on a single line
per new coding style.

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