diff options
author | Dr. David Alan Gilbert | 2019-02-27 14:24:06 +0100 |
---|---|---|
committer | Jason Wang | 2019-03-05 04:27:41 +0100 |
commit | ee3d96baf32350dd273643bd220bc180c62923cf (patch) | |
tree | 31ca3a4f9341a16b4f5b21d57ba115be4407c4b4 /include/migration | |
parent | net: Introduce announce timer (diff) | |
download | qemu-ee3d96baf32350dd273643bd220bc180c62923cf.tar.gz qemu-ee3d96baf32350dd273643bd220bc180c62923cf.tar.xz qemu-ee3d96baf32350dd273643bd220bc180c62923cf.zip |
migration: Add announce parameters
Add migration parameters that control RARP/GARP announcement timeouts.
Based on earlier patches by myself and
Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/migration')
-rw-r--r-- | include/migration/misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/migration/misc.h b/include/migration/misc.h index 4ebf24c6c2..e837ab3042 100644 --- a/include/migration/misc.h +++ b/include/migration/misc.h @@ -15,6 +15,7 @@ #define MIGRATION_MISC_H #include "qemu/notify.h" +#include "qapi/qapi-types-net.h" /* migration/ram.c */ @@ -38,6 +39,7 @@ int64_t self_announce_delay(int round) return 50 + (SELF_ANNOUNCE_ROUNDS - round - 1) * 100; } +AnnounceParameters *migrate_announce_params(void); /* migration/savevm.c */ void dump_vmstate_json_to_file(FILE *out_fp); |