From: Jason Wang Date: Tue, 20 May 2014 06:01:42 +0000 (+0800) Subject: migration: export SELF_ANNOUNCE_ROUNDS X-Git-Tag: v2.1.0-rc0~41^2~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=110f463062d65487fdd0daaaa0df53a2ea9d6619;p=thirdparty%2Fqemu.git migration: export SELF_ANNOUNCE_ROUNDS Export it for other users. Signed-off-by: Jason Wang Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 7e450483558..6edce982b25 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 7b2c410ea11..ebffb56a12c 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