From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
The RARP/ARP announce mechanisms have a bunch of fixed timings/counts
and on a system with a sluggish network the whole announce process
can be a bit short, ending before the networking is ready.
Make all these fixed values parameterised, document it and add a
basic test.
The default behaviour is unchanged, that is we have:
<p> 50ms <p> 150ms <p> 250ms <p> 350ms <p>
Dave
Dr. David Alan Gilbert (6):
migration/announce: Add parameters for self-announce
migration/announce: Accessor functions for parameters
migration/announce: Use the new parameters
migration/announce: Update hmp migrate parameter info/set
migration/announce: Document self-announce mechanism
migration/announce: Add test
docs/migration.txt | 40 ++++++++++
hmp.c | 36 +++++++++
hw/net/virtio-net.c | 3 +-
include/migration/migration.h | 6 ++
include/migration/vmstate.h | 10 ---
migration/migration.c | 72 ++++++++++++++++++
migration/savevm.c | 32 +++++++-
qapi-schema.json | 34 ++++++++-
tests/Makefile.include | 2 +
tests/announce-test.c | 165 ++++++++++++++++++++++++++++++++++++++++++
10 files changed, 385 insertions(+), 15 deletions(-)
create mode 100644 tests/announce-test.c
--
2.9.3