Allow to perform parallel live migrations

This patch implements parallel live migrations for libvirt driver.
It is achieved through introduction of new configuration parameter
`live_migration_parallel_connections`.

This allows to eliminate bottleneck on live migration speed by
establishing multiple connections for memory transition, thus
leveraging multi-threaded behavior in QEMU.

Implements-blueprint: libvirt-parallel-migrate
Change-Id: I98ff5f07f94d94f3aa0227591f425d532773adb0
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
This commit is contained in:
Dmitriy Rabotyagov
2025-07-24 14:57:38 +02:00
committed by Dan Smith
parent 30bf8c1025
commit 25fbf32f22
6 changed files with 154 additions and 7 deletions
@@ -0,0 +1,9 @@
---
features:
- |
Implemented parallel live migrations for libvirt driver, which can be
enabled by defining ``[libvirt] live_migration_parallel_connections``
to a value higher than 1. By default parallel migrations are not used to
preserve existing behavior. Also note that QEMU prior to 10.1.0 was not
able to support multifd with postcopy migrations, so enabling these two
features together on older QEMU versions is disallowed.