[Qemu-devel] [PATCH 0/6 for 2.10] Parameterise self-announce

Dr. David Alan Gilbert (git) posted 6 patches 7 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170328152745.28186-1-dgilbert@redhat.com
Test checkpatch passed
Test docker failed
Test s390x passed
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
[Qemu-devel] [PATCH 0/6 for 2.10] Parameterise self-announce
Posted by Dr. David Alan Gilbert (git) 7 years ago
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