migration: introduce self_announce_delay()
commit508e1180d3e8371a902ba721d2c9e1ee04c33a15
authorJason Wang <jasowang@redhat.com>
Tue, 20 May 2014 06:01:43 +0000 (20 14:01 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:54 +0000 (19 16:41 +0300)
tree378ce34ac117bcc20b66b10d3d7bf4fe1a669e7c
parent110f463062d65487fdd0daaaa0df53a2ea9d6619
migration: introduce self_announce_delay()

This patch introduces self_announce_delay() to calculate the delay for
the next announce round. This could be used by other device e.g
virtio-net who wants to do announcing by itself.

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