Export it for other users. Signed-off-by: Jason Wang <jasow...@redhat.com> --- include/migration/vmstate.h | 2 ++ savevm.c | 1 - 2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 7e45048..6edce98 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -752,6 +752,8 @@ extern const VMStateInfo vmstate_info_bitmap; #define VMSTATE_END_OF_LIST() \ {} +#define SELF_ANNOUNCE_ROUNDS 5 + int vmstate_load_state(QEMUFile *f, const VMStateDescription *vmsd, void *opaque, int version_id); void vmstate_save_state(QEMUFile *f, const VMStateDescription *vmsd, diff --git a/savevm.c b/savevm.c index da8aa24..f5273f3 100644 --- a/savevm.c +++ b/savevm.c @@ -42,7 +42,6 @@ #include "block/snapshot.h" #include "block/qapi.h" -#define SELF_ANNOUNCE_ROUNDS 5 #ifndef ETH_P_RARP #define ETH_P_RARP 0x8035 -- 1.7.1