This patch set includes downtime calculation on destination, sending it to source machine for statistics (query-migration).
Also additional traceses here for track down who was pagefault initiator. This patch set is based on master branch of git://git.qemu-project.org/qemu.git base commit is commit 372b3fe0b2ecdd39ba850e31c0c6686315c507af. It contains kernel side pages, just for convinience of applying current patch set, for testing util kernel headers arn't synced. Alexey Perevalov (6): userfault: add pid into uffd_msg & update UFFD_FEATURE_* util: introduce glib-helper.c migration: add UFFD_FEATURE_THREAD_ID feature support migration: calculate downtime on dst side migration: send postcopy downtime back to source migration: detailed traces for postcopy hw/block/xen_disk.c | 10 +- include/glib-compat.h | 352 -------------------------------------- include/glib/glib-compat.h | 352 ++++++++++++++++++++++++++++++++++++++ include/glib/glib-helper.h | 30 ++++ include/migration/migration.h | 18 +- include/migration/postcopy-ram.h | 2 +- include/qemu/osdep.h | 2 +- linux-headers/linux/userfaultfd.h | 5 + linux-user/main.c | 2 +- migration/migration.c | 302 +++++++++++++++++++++++++++++++- migration/postcopy-ram.c | 133 +++++++++++++- migration/qemu-file.c | 1 - migration/savevm.c | 2 +- migration/trace-events | 15 +- scripts/clean-includes | 2 +- util/Makefile.objs | 1 + util/glib-helper.c | 29 ++++ 17 files changed, 878 insertions(+), 380 deletions(-) delete mode 100644 include/glib-compat.h create mode 100644 include/glib/glib-compat.h create mode 100644 include/glib/glib-helper.h create mode 100644 util/glib-helper.c -- 1.8.3.1