qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH v1 0/3] provenance: save migration stats after c


From: mrhines
Subject: [Qemu-devel] [RFC PATCH v1 0/3] provenance: save migration stats after completion to destination
Date: Tue, 18 Feb 2014 13:53:19 +0800

From: "Michael R. Hines" <address@hidden>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]