From: "Dr. David Alan Gilbert" <[email protected]>
The following changes since commit 8c1c07929feae876202ba26f07a540c5115c18cd:
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into
staging (2020-09-24 18:48:45 +0100)
are available in the Git repository at:
git://github.com/dagrh/qemu.git tags/pull-migration-20200925a
for you to fetch changes up to e12a0edafeb5019aac74114b62a4703f79c5c693:
virtiofsd: Add -o allow_direct_io|no_allow_direct_io options (2020-09-25
12:45:58 +0100)
----------------------------------------------------------------
Migration and virtiofsd pull
Chuan Zheng's Dirtyrate and TLS changes, with small fixes from Dov and
Luarent and Peter.
Small virtiofs changes from Harry, Stefan, Vivek and Jiachen.
One HMP/monitor rework from me.
----------------------------------------------------------------
Chuan Zheng (18):
migration/dirtyrate: setup up query-dirtyrate framwork
migration/dirtyrate: add DirtyRateStatus to denote calculation status
migration/dirtyrate: Add RamblockDirtyInfo to store sampled page info
migration/dirtyrate: Add dirtyrate statistics series functions
migration/dirtyrate: move RAMBLOCK_FOREACH_MIGRATABLE into ram.h
migration/dirtyrate: Record hash results for each sampled page
migration/dirtyrate: Compare page hash results for recorded sampled page
migration/dirtyrate: skip sampling ramblock with size below
MIN_RAMBLOCK_SIZE
migration/dirtyrate: Implement set_sample_page_period() and
is_sample_period_valid()
migration/dirtyrate: Implement calculate_dirtyrate() function
migration/dirtyrate: Implement qmp_cal_dirty_rate()/qmp_get_dirty_rate()
function
migration/dirtyrate: Add trace_calls to make it easier to debug
migration/tls: save hostname into MigrationState
migration/tls: extract migration_tls_client_create for common-use
migration/tls: add tls_hostname into MultiFDSendParams
migration/tls: extract cleanup function for common-use
migration/tls: add support for multifd tls-handshake
migration/tls: add trace points for multifd-tls
Dov Murik (1):
migration: Truncate state file in xen-save-devices-state
Dr. David Alan Gilbert (1):
monitor: Use LOCK_GUARD macros
Harry G. Coin (1):
virtiofsd: document cache=auto default
Jiachen Zhang (1):
virtiofsd: Add -o allow_direct_io|no_allow_direct_io options
Laurent Vivier (1):
migration: increase max-bandwidth to 128 MiB/s (1 Gib/s)
Peter Xu (2):
migration: Properly destroy variables on incoming side
migration: Rework migrate_send_rp_req_pages() function
Vivek Goyal (1):
virtiofsd: Used glib "shared" thread pool
docs/tools/virtiofsd.rst | 1 +
migration/channel.c | 1 +
migration/dirtyrate.c | 426 ++++++++++++++++++++++++++++++++++
migration/dirtyrate.h | 69 ++++++
migration/meson.build | 2 +-
migration/migration.c | 36 ++-
migration/migration.h | 9 +-
migration/multifd.c | 124 ++++++++--
migration/multifd.h | 2 +
migration/postcopy-ram.c | 24 +-
migration/ram.c | 11 +-
migration/ram.h | 10 +
migration/savevm.c | 3 +-
migration/tls.c | 28 ++-
migration/tls.h | 6 +
migration/trace-events | 12 +
monitor/misc.c | 44 ++--
qapi/migration.json | 67 ++++++
tools/virtiofsd/fuse_virtio.c | 2 +-
tools/virtiofsd/helper.c | 4 +
tools/virtiofsd/passthrough_ll.c | 20 +-
tools/virtiofsd/passthrough_seccomp.c | 2 +
22 files changed, 797 insertions(+), 106 deletions(-)
create mode 100644 migration/dirtyrate.c
create mode 100644 migration/dirtyrate.h