On Tue, Sep 01, 2020 at 16:36:55 +0200, Martin Kletzander wrote: > Clean up the semantics by using one extra self-describing variable. > This also fixes the port allocation when the port is specified. > > Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx> > --- > src/qemu/qemu_migration.c | 37 +++++++++++++++++++++++-------------- > 1 file changed, 23 insertions(+), 14 deletions(-) Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx>