Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
24 lines
509 B
C
24 lines
509 B
C
/*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*
|
|
* multifd colo header
|
|
*
|
|
* Copyright (c) Lukas Straub <[email protected]>
|
|
*/
|
|
|
|
#ifndef QEMU_MIGRATION_MULTIFD_COLO_H
|
|
#define QEMU_MIGRATION_MULTIFD_COLO_H
|
|
|
|
#ifdef CONFIG_REPLICATION
|
|
|
|
void multifd_colo_prepare_recv(MultiFDRecvParams *p);
|
|
void multifd_colo_process_recv(MultiFDRecvParams *p);
|
|
|
|
#else
|
|
|
|
static inline void multifd_colo_prepare_recv(MultiFDRecvParams *p) {}
|
|
static inline void multifd_colo_process_recv(MultiFDRecvParams *p) {}
|
|
|
|
#endif
|
|
#endif
|