]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add the print of page size in cmd domjobinfo
authorChao Fan <fanc.fnst@cn.fujitsu.com>
Mon, 9 Oct 2017 02:00:03 +0000 (10:00 +0800)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 12 Oct 2017 15:06:07 +0000 (17:06 +0200)
commit79b7ac43fa1bf2317bbd9ae74dbe57f507c2f5cb
treeb08ee1a4fc2a879f67a8a3a5df11601956da2a56
parent7388d055d4d77d7bb4d603fa0208fcde176f91c1
qemu: add the print of page size in cmd domjobinfo

The command "info migrate" of qemu outputs the dirty-pages-rate during
migration, but page size is different in different architectures. So
page size should be output to calculate dirty pages in bytes.

Page size is already implemented with commit
030ce1f8612215fcbe9d353dfeaeb2937f8e3f94 in qemu.
Now Implement the counter-part in libvirt.

Signed-off-by: Chao Fan <fanc.fnst@cn.fujitsu.com>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
include/libvirt/libvirt-domain.h
src/qemu/qemu_domain.c
src/qemu/qemu_migration_cookie.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
tools/virsh-domain.c