Re: [libvirt PATCH 3/7] qemu_migration: Restore original memory locking limit

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

 



On a Thursday in 2022, Jiri Denemark wrote:
For RDMA migration we update memory locking limit, but never set it back
once migration finishes (on the destination host) or aborts (on the
source host).

Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---
src/qemu/qemu_domain.c    | 12 ++++++++++++
src/qemu/qemu_domain.h    |  3 +++
src/qemu/qemu_migration.c | 11 ++++++++---
3 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index fe63f45629..ffae5576d2 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -6410,7 +6415,7 @@ qemuMigrationDstComplete(virQEMUDriver *driver,
                             job->apiFlags);

    virPortAllocatorRelease(priv->migrationPort);
-    priv->migrationPort = 0;

This removal is suspicious.

Jano

+    qemuDomainSetMaxMemLock(vm, 0, &priv->preMigrationMemlock);
}


--
2.35.1

Attachment: signature.asc
Description: PGP signature


[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