On Mon, Jan 08, 2024 at 18:06:41 +0100, Jiri Denemark wrote:
> During post-copy migration (once it actually switches to post-copy mode)
> dirty memory pages are continued to be migrated iteratively, while the
> destination can explicitly request a specific page to be migrated before
> the iterative process gets to it (which happens when a guest wants to
> read a page that was not migrated yet). Without the postcopy-preempt
> capability enabled such pages need to wait until all other pages already
> queued are transferred. Enabling this capability will instruct the
> hypervisor to create a separate migration channel for explicitly
> requested pages so that they can preempt the queue.

You should state more explicitly that this requires the change in
connection method from MIGRATION_DEST_CONNECT_SOCKET to MIGRATION_DEST_SOCKET

> 
> This is enabled for all post-copy migration as long as the capability is
> supported on both sides of migration.
> 
> Signed-off-by: Jiri Denemark <[email protected]>
> ---
>  src/qemu/qemu_migration.c        | 11 +++++++----
>  src/qemu/qemu_migration_params.c |  2 ++
>  src/qemu/qemu_migration_params.h |  1 +
>  3 files changed, 10 insertions(+), 4 deletions(-)

[...]

Reviewed-by: Peter Krempa <[email protected]>
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to