]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Expose additional migration statistics
authorMichael R. Hines <mrhines@us.ibm.com>
Mon, 13 Jan 2014 06:28:10 +0000 (14:28 +0800)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 23 Sep 2014 06:10:30 +0000 (08:10 +0200)
commit30b24df16574997d2857c705148932f793d82896
treeaec02e20709b0f1084447df17ea9e94a1c211112
parent1cd3765eade44d5a53fcb14053b6ba90d7147185
qemu: Expose additional migration statistics

RDMA migration uses the 'setup' state in QEMU to optionally lock
all memory before the migration starts. The total time spent in
this state is exposed as VIR_DOMAIN_JOB_SETUP_TIME.

Additionally, QEMU also exports migration throughput (mbps) for both
memory and disk, so let's add them too: VIR_DOMAIN_JOB_MEMORY_BPS,
VIR_DOMAIN_JOB_DISK_BPS.

Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
include/libvirt/libvirt.h.in
src/qemu/qemu_domain.c
src/qemu/qemu_migration.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
tools/virsh-domain.c