diff options
author | Jason Wang <jasowang@redhat.com> | 2014-05-20 14:01:42 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-19 16:41:54 +0300 |
commit | 110f463062d65487fdd0daaaa0df53a2ea9d6619 (patch) | |
tree | efbbb29e7d25e07cf59d609ed84f918ca9b8c9cd | |
parent | 9d3cae68ac4de8cbae7bf750d6ebe6cb87cd9365 (diff) | |
download | qemu-110f463062d65487fdd0daaaa0df53a2ea9d6619.zip qemu-110f463062d65487fdd0daaaa0df53a2ea9d6619.tar.gz qemu-110f463062d65487fdd0daaaa0df53a2ea9d6619.tar.bz2 |
migration: export SELF_ANNOUNCE_ROUNDS
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>
-rw-r--r-- | include/migration/vmstate.h | 2 | ||||
-rw-r--r-- | 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, @@ -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 |