qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v1 0/3] provenance: save migration stats after completion to destination
@ 2014-02-18  5:53 mrhines
  2014-02-18  5:53 ` [Qemu-devel] [RFC PATCH v1 1/3] provenance: QMP command to store MigrationInfo from JSON mrhines
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: mrhines @ 2014-02-18  5:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: hinesmr, Michael R. Hines, quintela

From: "Michael R. Hines" <mrhines@us.ibm.com>

This series allows us to send the contents of the entire MigrationInfo structure to the
destination once the migration is over. This is very useful for analyzing
the result of a migration, and particularly useful for management software and
policy. Normally, the information ins MigrationInfo is completely lost when
the source VM is destroyed, but with this series, we can preserve the statistics
for retrieval.

The QMP architecture has sufficient functionality to serialize and
deserialize arbitrary objects into JSON and back again (very nice).

We only store the stats from the *last* migration, but not all previous migrations,
as that could potentially get unwieldy. Thus, it's the management software's (or user's)
responsibility to retrieve the statistics before another migration occurs.

Michael R. Hines (3):
  provenance: QMP command to store MigrationInfo from JSON
  provenance: serialize MigrationInfo across the wire
  provenance: expose the serialization save/load functions for migration

 include/migration/migration.h |   8 +++
 migration.c                   | 126 ++++++++++++++++++++++++++++++++++++++++--
 qapi-schema.json              |  14 +++++
 qmp-commands.hx               |  33 +++++++++++
 vl.c                          |   2 +
 5 files changed, 178 insertions(+), 5 deletions(-)

-- 
1.8.1.2

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

end of thread, other threads:[~2014-02-19  4:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18  5:53 [Qemu-devel] [RFC PATCH v1 0/3] provenance: save migration stats after completion to destination mrhines
2014-02-18  5:53 ` [Qemu-devel] [RFC PATCH v1 1/3] provenance: QMP command to store MigrationInfo from JSON mrhines
2014-02-18  5:53 ` [Qemu-devel] [RFC PATCH v1 2/3] provenance: serialize MigrationInfo across the wire mrhines
2014-02-18  5:53 ` [Qemu-devel] [RFC PATCH v1 3/3] provenance: expose the serialization save/load functions for migration mrhines
2014-02-18 13:40 ` [Qemu-devel] [RFC PATCH v1 0/3] provenance: save migration stats after completion to destination Eric Blake
2014-02-19  2:30   ` Michael R. Hines
2014-02-19  2:40     ` Eric Blake
2014-02-19  4:22       ` Michael R. Hines

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).