mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Really fix crash in tunnelled migration
Oops, I forgot to squash one more instance of the same check in the previous commit (v1.2.10-144-g52691f9). https://bugzilla.redhat.com/show_bug.cgi?id=1147331 Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
8312d44d72
commit
800454e45e
@ -2757,7 +2757,7 @@ qemuMigrationPrepareAny(virQEMUDriverPtr driver,
|
|||||||
QEMU_ASYNC_JOB_MIGRATION_IN) < 0)
|
QEMU_ASYNC_JOB_MIGRATION_IN) < 0)
|
||||||
goto stop;
|
goto stop;
|
||||||
|
|
||||||
if (STREQ(protocol, "rdma") &&
|
if (STREQ_NULLABLE(protocol, "rdma") &&
|
||||||
virProcessSetMaxMemLock(vm->pid, vm->def->mem.hard_limit << 10) < 0) {
|
virProcessSetMaxMemLock(vm->pid, vm->def->mem.hard_limit << 10) < 0) {
|
||||||
goto stop;
|
goto stop;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user