aboutsummaryrefslogtreecommitdiff
path: root/migration/migration.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2019-02-27 13:24:05 +0000
committerJason Wang <jasowang@redhat.com>2019-03-05 11:27:41 +0800
commit50510ea2c2960cc48e9cc1676dde88b849933b6e (patch)
treeea82a8203ccb5b9e0a0f10cb0ccd65b34fcd91f3 /migration/migration.c
parent4875bf140662b214ad9f94b0d566354977d8c01d (diff)
downloadqemu-50510ea2c2960cc48e9cc1676dde88b849933b6e.zip
qemu-50510ea2c2960cc48e9cc1676dde88b849933b6e.tar.gz
qemu-50510ea2c2960cc48e9cc1676dde88b849933b6e.tar.bz2
net: Introduce announce timer
The 'announce timer' will be used by migration, and explicit requests for qemu to perform network announces. Based on the work by Germano Veit Michel <germano@redhat.com> and Vlad Yasevich <vyasevic@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'migration/migration.c')
-rw-r--r--migration/migration.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/migration.c b/migration/migration.c
index 37e06b7..a9c4c6f 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -45,6 +45,7 @@
#include "migration/colo.h"
#include "hw/boards.h"
#include "monitor/monitor.h"
+#include "net/announce.h"
#define MAX_THROTTLE (32 << 20) /* Migration transfer speed throttling */