qemu/qapi
Alexey Perevalov ca6011c232 migration: add postcopy total blocktime into query-migrate
Postcopy total blocktime is available on destination side only.
But query-migrate was possible only for source. This patch
adds ability to call query-migrate on destination.
To be able to see postcopy blocktime, need to request postcopy-blocktime
capability.

The query-migrate command will show following sample result:
{"return":
    "postcopy-vcpu-blocktime": [115, 100],
    "status": "completed",
    "postcopy-blocktime": 100
}}

postcopy_vcpu_blocktime contains list, where the first item is the first
vCPU in QEMU.

This patch has a drawback, it combines states of incoming and
outgoing migration. Ongoing migration state will overwrite incoming
state. Looks like better to separate query-migrate for incoming and
outgoing migration or add parameter to indicate type of migration.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2018-01-15 12:48:04 +01:00
..
block-core.json block: Document that x-blockdev-change breaks quorum children list 2017-12-22 15:03:41 +01:00
block.json
char.json
common.json
crypto.json
introspect.json
Makefile.objs
migration.json migration: add postcopy total blocktime into query-migrate 2018-01-15 12:48:04 +01:00
net.json
opts-visitor.c
qapi-clone-visitor.c qapi/qnull: Add own header 2017-11-17 18:21:30 +01:00
qapi-dealloc-visitor.c
qapi-util.c
qapi-visit-core.c
qmp-dispatch.c
qmp-event.c
qmp-registry.c
qobject-input-visitor.c
qobject-output-visitor.c
rocker.json
run-state.json qapi: Rename WatchdogExpirationAction enum 2017-10-02 08:40:01 +02:00
sockets.json
string-input-visitor.c qapi/qnull: Add own header 2017-11-17 18:21:30 +01:00
string-output-visitor.c
tpm.json tpm: Added support for TPM emulator 2017-10-13 07:34:33 -04:00
trace-events
trace.json
transaction.json
ui.json ui: normalize the 'sysrq' key into the 'print' key 2017-10-23 10:50:02 +02:00