]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: Switch to using announce timer
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 27 Feb 2019 13:24:08 +0000 (13:24 +0000)
committerJason Wang <jasowang@redhat.com>
Tue, 5 Mar 2019 03:27:41 +0000 (11:27 +0800)
commit7659505c1680643d13ad7675f9e649d388303059
tree502da4c1b4ba4b5397727810385c2fe8ca6eb4ad
parent9d8c6a258c70d8ff494489140a4fcb3a965909b2
migration: Switch to using announce timer

Switch the announcements to using the new announce timer.
Move the code that does it to announce.c rather than savevm
because it really has nothing to do with the actual migration.

Migration starts the announce from bh's and so they're all
in the main thread/bql, and so there's never any racing with
the timers themselves.

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>
include/migration/misc.h
include/net/announce.h
include/sysemu/sysemu.h
migration/migration.c
migration/migration.h
migration/savevm.c
migration/trace-events
net/announce.c
net/trace-events