From 1632a2017f682a9dc6ce51756b9765af07977873 Mon Sep 17 00:00:00 2001 From: Steve Sistare Date: Fri, 7 Mar 2025 12:55:51 -0800 Subject: migration: cpr_is_incoming Define the cpr_is_incoming helper, to be used in several cpr fix patches. Signed-off-by: Steve Sistare Reviewed-by: Peter Xu Reviewed-by: Fabiano Rosas Message-ID: <1741380954-341079-2-git-send-email-steven.sistare@oracle.com> Signed-off-by: Fabiano Rosas --- include/migration/cpr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/migration/cpr.h b/include/migration/cpr.h index 3a6deb7..7561fc7 100644 --- a/include/migration/cpr.h +++ b/include/migration/cpr.h @@ -21,6 +21,7 @@ int cpr_find_fd(const char *name, int id); MigMode cpr_get_incoming_mode(void); void cpr_set_incoming_mode(MigMode mode); +bool cpr_is_incoming(void); int cpr_state_save(MigrationChannel *channel, Error **errp); int cpr_state_load(MigrationChannel *channel, Error **errp); -- cgit v1.1