aboutsummaryrefslogtreecommitdiff
path: root/qapi/string-input-visitor.c
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2022-10-11 17:55:49 -0400
committerJuan Quintela <quintela@redhat.com>2022-12-15 10:30:37 +0100
commiteaa238ab31d9d74ad09100b0f56dfe21f299eb30 (patch)
tree45798db841fc9929104fc1e6d3af50c832764432 /qapi/string-input-visitor.c
parent10661f118048265df33cc30597ecb346c0f092c1 (diff)
downloadqemu-eaa238ab31d9d74ad09100b0f56dfe21f299eb30.zip
qemu-eaa238ab31d9d74ad09100b0f56dfe21f299eb30.tar.gz
qemu-eaa238ab31d9d74ad09100b0f56dfe21f299eb30.tar.bz2
migration: Remove RAMState.f references in compression code
Removing referencing to RAMState.f in compress_page_with_multi_thread() and flush_compressed_data(). Compression code by default isn't compatible with having >1 channels (or it won't currently know which channel to flush the compressed data), so to make it simple we always flush on the default to_dst_file port until someone wants to add >1 ports support, as rs->f right now can really change (after postcopy preempt is introduced). There should be no functional change at all after patch applied, since as long as rs->f referenced in compression code, it must be to_dst_file. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'qapi/string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions