diff options
| author | Hao Xiang <hao.xiang@bytedance.com> | 2024-03-11 18:00:14 +0000 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2024-03-11 16:57:09 -0400 |
| commit | 70c25c92e602f393d3c33596530c5f2b18491e55 (patch) | |
| tree | c4e074cd4255a324fb8281a7637453c9d80ae844 /migration/options.c | |
| parent | 9ae90f73e623c8b8c7ec1fccd8ca493805df8fbd (diff) | |
| download | focaccia-qemu-70c25c92e602f393d3c33596530c5f2b18491e55.tar.gz focaccia-qemu-70c25c92e602f393d3c33596530c5f2b18491e55.zip | |
migration/multifd: Enable multifd zero page checking by default.
1. Set default "zero-page-detection" option to "multifd". Now zero page checking can be done in the multifd threads and this becomes the default configuration. 2. Handle migration QEMU9.0 -> QEMU8.2 compatibility. We provide backward compatibility where zero page checking is done from the migration main thread. Signed-off-by: Hao Xiang <hao.xiang@bytedance.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Peter Xu <peterx@redhat.com> Link: https://lore.kernel.org/r/20240311180015.3359271-7-hao.xiang@linux.dev Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/options.c')
| -rw-r--r-- | migration/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/options.c b/migration/options.c index 8f2a3a2fa5..9ed2fe4bee 100644 --- a/migration/options.c +++ b/migration/options.c @@ -181,7 +181,7 @@ Property migration_properties[] = { MIG_MODE_NORMAL), DEFINE_PROP_ZERO_PAGE_DETECTION("zero-page-detection", MigrationState, parameters.zero_page_detection, - ZERO_PAGE_DETECTION_LEGACY), + ZERO_PAGE_DETECTION_MULTIFD), /* Migration capabilities */ DEFINE_PROP_MIG_CAP("x-xbzrle", MIGRATION_CAPABILITY_XBZRLE), |