Re: [libvirt PATCH 5/6] qemu: Enable postcopy-preempt migration capability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <jdenemar@xxxxxxxxxx>
> ---
>  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 <pkrempa@xxxxxxxxxx>
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux