]> git.proxmox.com Git - qemu.git/blobdiff - qmp-commands.hx
migration: print total downtime for final phase of migration
[qemu.git] / qmp-commands.hx
index 2f8477e2a86c4e909dd19658bf9d3ac8ab30b019..46860570508e9462c1fe9e4ec7e0e94c90c9b722 100644 (file)
@@ -2304,6 +2304,8 @@ The main json-object contains the following:
 - "total-time": total amount of ms since migration started.  If
                 migration has ended, it returns the total migration
                 time (json-int)
+- "downtime": only present when migration has finished correctly
+              total amount in ms for downtime that happened (json-int)
 - "ram": only present if "status" is "active", it is a json-object with the
   following RAM information (in bytes):
          - "transferred": amount transferred (json-int)
@@ -2341,6 +2343,7 @@ Examples:
           "remaining":123,
           "total":246,
           "total-time":12345,
+          "downtime":12345,
           "duplicate":123,
           "normal":123,
           "normal-bytes":123456