aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2025-05-09 09:42:10 +0800
committerPeter Xu <peterx@redhat.com>2025-05-20 11:26:32 -0400
commit7b2e4f788d60a8ec25efbf1e6bb6552ee0cef17c (patch)
tree16f6346fda1c2708b342d8e5691a5ab9c50479b7 /python
parentc4f88b7136aa5aa5670a16c2f173ffb45da401b2 (diff)
downloadqemu-7b2e4f788d60a8ec25efbf1e6bb6552ee0cef17c.zip
qemu-7b2e4f788d60a8ec25efbf1e6bb6552ee0cef17c.tar.gz
qemu-7b2e4f788d60a8ec25efbf1e6bb6552ee0cef17c.tar.bz2
qtest/migration/rdma: Enforce RLIMIT_MEMLOCK >= 128MB requirement
Ensure successful migration over RDMA by verifying that RLIMIT_MEMLOCK is set to at least 128MB. This allocation is necessary due to the requirement to pin significant portions of guest memory, typically exceeding 100MB in this test, while the remainder is transmitted as compressed zero pages. Otherwise, it will fail with: stderr: qemu-system-x86_64: cannot get rkey qemu-system-x86_64: error while loading state section id 2(ram) qemu-system-x86_64: load of migration failed: Operation not permitted qemu-system-x86_64: rdma migration: recv polling control error! qemu-system-x86_64: RDMA is in an error state waiting migration to abort! qemu-system-x86_64: failed to save SaveStateEntry with id(name): 2(ram): -1 qemu-system-x86_64: Channel error: Operation not permitted Reported-by: Peter Xu <peterx@redhat.com> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> Link: https://lore.kernel.org/r/20250509014211.1272640-1-lizhijian@fujitsu.com Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions