qemu-e2k/qapi
Alexey Perevalov 65ace06045 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>
Message-Id: <1521742647-25550-7-git-send-email-a.perevalov@samsung.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2018-04-25 18:02:17 +01:00
..
block-core.json vdi: Change 'static' create option to 'preallocation' in QMP 2018-03-26 12:16:12 +02:00
block.json
char.json
common.json
crypto.json
introspect.json qapi: introduce new cmd option "allow-oob" 2018-03-19 14:58:37 -05:00
Makefile.objs
migration.json migration: add postcopy total blocktime into query-migrate 2018-04-25 18:02:17 +01:00
misc.json virtio,vhost,pci,pc: features, cleanups 2018-03-20 15:48:34 +00:00
net.json net: Remove the deprecated way of dumping network packets 2018-03-05 10:30:15 +08:00
opts-visitor.c
qapi-clone-visitor.c
qapi-dealloc-visitor.c
qapi-schema.json qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
qapi-util.c
qapi-visit-core.c
qmp-dispatch.c qmp: support out-of-band (oob) execution 2018-03-19 14:58:37 -05:00
qmp-event.c
qmp-registry.c
qobject-input-visitor.c qapi: Make more of qobject_to() 2018-03-19 14:58:36 -05:00
qobject-output-visitor.c qapi: Replace qobject_to_X(o) by qobject_to(X, o) 2018-03-19 14:58:36 -05:00
rocker.json
run-state.json
sockets.json sockets: allow SocketAddress 'fd' to reference numeric file descriptors 2018-03-13 18:06:06 +00:00
string-input-visitor.c
string-output-visitor.c
tpm.json
trace-events
trace.json
transaction.json
ui.json qapi: Add device ID and head parameters to screendump 2018-03-12 09:03:15 +01:00