migration: Add a semaphore to count PONGs
commitb28fb58227aa88b940fd45b31b0f66c8e3b8cdc0
authorPeter Xu <peterx@redhat.com>
Wed, 8 Feb 2023 20:28:12 +0000 (8 15:28 -0500)
committerJuan Quintela <quintela@redhat.com>
Sat, 11 Feb 2023 15:51:09 +0000 (11 16:51 +0100)
tree285eac265103f2ba375917289b14a7693265d94c
parentfc063a7b8ac0e1362897f4fb3f5c09dce2b2f5af
migration: Add a semaphore to count PONGs

This is mostly useless, but useful for us to know whether the main channel
is correctly established without changing the migration protocol.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c
migration/migration.h