On Tue, May 10, 2022 at 17:20:47 +0200, Jiri Denemark wrote: > Most of the code in "endjob" label is executed only on failure. Let's > duplicate the rest so that the label can be used only in error path > making the success path easier to follow and refactor. > > Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx> > --- > src/qemu/qemu_migration.c | 45 ++++++++++++++++++++++----------------- > 1 file changed, 26 insertions(+), 19 deletions(-) Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>