- 08 Jul, 2013 1 commit
-
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 05 Jul, 2013 7 commits
-
-
Pavel Emelyanov authored
This memory is unmapped by handr, so no need in polluting self-smaps with it. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Actually after remap the rst-mem is still visible in the crtools, although at another address. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Reported-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
The memory in question is allocated and then remaped into restorer with one call to mremap. Thus, to use the mem we need to provide to users API for * alloc memory * get current allocation pointer * convert current pointer into remapped one * the remap itself This would help combinding lots of small allocations such as tcp sockets to unrepair, siginfos and posix timers. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 08 Jul, 2013 4 commits
-
-
Andrey Vagin authored
timer is not freed in case of eof. CID 1042301 (#1 of 1): Resource leak (RESOURCE_LEAK) 15. leaked_storage: Variable timer going out of scope leaks the storage it points to. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
CID 1042292 (#1 of 1): Unsigned compared against 0 (NO_EFFECT) unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "len < 0UL" Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Before doing something with mounts they should be marked as private, otherwise our actions can affects someone else. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
If a parent mount point is shared with exteranl mntns, a child will be umounted from the external mntns too. For example: $ mount -t tmpfs xxx /root/tmp/ $ mount --make-shared tmp $ mkdir tmp/xxx $ mount -t tmpfs xxx /root/tmp/xxx $ touch tmp/xxx/a $ unshare -m umount tmp/xxx $ ls -l tmp/xxx/a ls: cannot access tmp/xxx/a: No such file or directory This patch changes a parent mnt to private for umounting childrens. v2: exit if a mount point can not be marked ad private Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 04 Jul, 2013 1 commit
-
-
Pavel Emelyanov authored
This most likely meand, that the respective -diag module is missing. In that case the caller would check it and _might_ not fail the dump at once. Thus treat it as error. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 02 Jul, 2013 2 commits
-
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
This file was created for backward compatibility with not-yet-patched kernel. Now we can remove it. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 03 Jul, 2013 1 commit
-
-
Andrey Vagin authored
Cc: Pavel Tikhomirov <snorcht@gmail.com> Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 02 Jul, 2013 2 commits
-
-
Pavel Emelyanov authored
The _actual_ need for this is checked in other place. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
parse_posix_timers should not call ferror if fopen returned NULL. Reported-by:
Adrian Reber <adrian@lisas.de> Cc: Pavel Tikhomirov <snorcht@gmail.com> Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 01 Jul, 2013 2 commits
-
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Unix socket and have no peer, but be in established state. Such types of sockets appear when one end of a connection closes and leaves the peer in full-shutdown state. Check this and handle properly on restore. Reported-by:
Florian Gross <Florian.S.Gross@web.de> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 02 Jul, 2013 1 commit
-
-
Alexander Kartashov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 01 Jul, 2013 19 commits
-
-
Pavel Emelyanov authored
This release goes on increasing the bugfix-to-features ratio. Though we still have a lot of new stuff in the tool the amount of bugs we've caught and fixed increases. As a very notable feature it's worth mentioning that we have prepared crtools to be ready to restore images, converted from those generated by rh6-openvz kernel, i.e. we are very close to have live-migration from rh6 to whatever-it-will-be as the next openvz kernel. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Otherwise on non-soft-dirty kernel dump passes, but produces broken image. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
1st stage is -- creating the timers. It may fail if kernel allocated IDs in a manner we don't expect or runs out of memory. 2nd stage is -- arm the timers. It cannot fail, since we've validated the timespecs in advance and should happen after we've waited for all the other tasks to complete the restore. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
$pid variable get chopped by editor Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
We've slightly updated -v option argument parsing, thus update cmdline used in a few app-emu tests. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Add cpt/rst timeout to inaccuracy. All timers are stopped during cpt/rst. We don't know in which moment they are stopped and run, so this timeout is added to acceptable inaccuracy. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
| Can't open ghost file /tmp/file_aio.cRgOVJ.cr.169.ghost: File exists Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
For easier detection where exactly test fails. | 665: map: ptr 0x7fa96bbe4000 flag 2 prot 0 | 665: map: ptr 0x7fa96bbe2000 flag 1 prot 0 | 665: map: ptr 0x7fa96bbe0000 flag 22 prot 0 | 665: map: ptr 0x7fa96bbdb000 flag 21 prot 0 ... | 665: Read: 0, Expected: 553e7b06 | 665: Read: 0, Expected: 553e7b06 | 665: Read: 0, Expected: 553e7b06 | 665: FAIL: maps00.c:145: CRC mismatch: ptr 0x7fa96bbcb000 flag 21 prot 3 Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
It's required to get support for posix cpu timers and it has appeared in v3.10 Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Tikhomirov authored
Explanation of exclude periodic test is that we can't set overrun for timer, so all checks will fail in case of big overrun before dump. Signed-off-by:
Pavel Tikhomirov <snorcht@gmail.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Tikhomirov authored
Add fake timers to inshure that then timer ids don't go one after another c/r go well. Signed-off-by:
Pavel Tikhomirov <snorcht@gmail.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Tikhomirov authored
Signed-off-by:
Pavel Tikhomirov <snorcht@gmail.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Tikhomirov authored
Signed-off-by:
Pavel Tikhomirov <snorcht@gmail.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Tikhomirov authored
This also add function to check if time represented by two numbers is valid. I.e. for timespec(sec, nsec), sec and nsec must be > 0 and nsec must be less when NSEC_PER_SEC. Signed-off-by:
Pavel Tikhomirov <snorcht@gmail.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-