[Pkg-libvirt-maintainers] Bug#773503: Patch not sufficient
Eckebrecht von Pappenheim
evp at heise.de
Mon Jan 5 08:15:43 UTC 2015
Hello,
the upstream patch does not fix the problem.
After installing
libvirt-daemon 1.2.9-7
live migration still fails:
[ 1505.897145] libvirtd[4447]: segfault at 0 ip 00007f5e952b0e87 sp
00007f5e9e9c9830 error 4 in libvirt_driver_qemu.so[7f5e95233000+117000]
After applying
----------
*** libvirt-1.2.9/src/qemu/qemu_migration.c Mon Jan 5 09:03:41 2015
--- libvirt-1.2.9-new/src/qemu/qemu_migration.c Fri Jan 2 17:57:01 2015
***************
*** 2746,2752 ****
QEMU_ASYNC_JOB_MIGRATION_IN) < 0)
goto stop;
! if (STREQ(protocol, "rdma") &&
virProcessSetMaxMemLock(vm->pid, vm->def->mem.hard_limit << 10) < 0) {
goto stop;
}
--- 2746,2752 ----
QEMU_ASYNC_JOB_MIGRATION_IN) < 0)
goto stop;
! if (STREQ_NULLABLE(protocol, "rdma") &&
virProcessSetMaxMemLock(vm->pid, vm->def->mem.hard_limit << 10) < 0) {
goto stop;
}
----------
everything works fine. This fixes the second occurrence of
'STREQ(protocol, "rdma")' ...
Regards,
Eckebrecht
--
Eckebrecht von Pappenheim, Leiter IT-Systemmanagement
E-Mail: evp at heise.de - Tel: +49 511 5352 242 - Fax: +49 511 5352 479
More information about the Pkg-libvirt-maintainers
mailing list