- 08 Jul, 2013 1 commit
-
-
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 26 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>
-
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
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
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>
-
- 27 Jun, 2013 2 commits
-
-
Andrey Vagin authored
These processes don't have image files in a parent snapshot and crtools should not fail in this case. https://bugzilla.openvz.org/show_bug.cgi?id=2636 v2: return NULL from mem_snap_init, if a parent image is absent. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
and this processes live a short period of time. This test case is needed for testing snapshots. https://bugzilla.openvz.org/show_bug.cgi?id=2636Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 22 Jun, 2013 2 commits
-
-
Andrey Vagin authored
Only last iteration stops processes, all other iterations make snapshots. Processes are restored from the last snapshot. bash -x test/zdtm.sh -s -i 3 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>
-