From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIYT-0000vt-9y for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:17:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxIYL-0006mp-RY for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:17:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIYL-0006mY-Jz for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:17:37 -0400 Date: Wed, 18 Jun 2014 19:17:59 +0300 From: "Michael S. Tsirkin" Message-ID: <1403108034-32054-41-git-send-email-mst@redhat.com> References: <1403108034-32054-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1403108034-32054-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL v2 040/106] migration: export SELF_ANNOUNCE_ROUNDS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Fam Zheng , Eduardo Habkost , Juan Quintela , Jason Wang , Orit Wasserman , "Michael R. Hines" , Anthony Liguori , Paolo Bonzini From: Jason Wang Export it for other users. Signed-off-by: Jason Wang Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- include/migration/vmstate.h | 2 ++ savevm.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- MST