OSDN Git Service

migration: export SELF_ANNOUNCE_ROUNDS
authorJason Wang <jasowang@redhat.com>
Tue, 20 May 2014 06:01:42 +0000 (14:01 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:54 +0000 (16:41 +0300)
Export it for other users.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/migration/vmstate.h
savevm.c

index 7e45048..6edce98 100644 (file)
@@ -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,
index 7b2c410..ebffb56 100644 (file)
--- 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