qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6 for 2.10] Parameterise self-announce
@ 2017-03-28 15:27 Dr. David Alan Gilbert (git)
  2017-03-28 15:27 ` [Qemu-devel] [PATCH 1/6] migration/announce: Add parameters for self-announce Dr. David Alan Gilbert (git)
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Dr. David Alan Gilbert (git) @ 2017-03-28 15:27 UTC (permalink / raw)
  To: qemu-devel, quintela, lvivier
  Cc: kashyap, germano, armbru, jasowang, jdenemar

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-03-28 15:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28 15:27 [Qemu-devel] [PATCH 0/6 for 2.10] Parameterise self-announce Dr. David Alan Gilbert (git)
2017-03-28 15:27 ` [Qemu-devel] [PATCH 1/6] migration/announce: Add parameters for self-announce Dr. David Alan Gilbert (git)
2017-03-28 15:56   ` Eric Blake
2017-03-28 15:27 ` [Qemu-devel] [PATCH 2/6] migration/announce: Accessor functions for parameters Dr. David Alan Gilbert (git)
2017-03-28 15:27 ` [Qemu-devel] [PATCH 3/6] migration/announce: Use the new parameters Dr. David Alan Gilbert (git)
2017-03-28 15:27 ` [Qemu-devel] [PATCH 4/6] migration/announce: Update hmp migrate parameter info/set Dr. David Alan Gilbert (git)
2017-03-28 15:27 ` [Qemu-devel] [PATCH 5/6] migration/announce: Document self-announce mechanism Dr. David Alan Gilbert (git)
2017-03-28 15:27 ` [Qemu-devel] [PATCH 6/6] migration/announce: Add test Dr. David Alan Gilbert (git)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).