- 03 Nov, 2016 10 commits
-
-
Tycho Andersen authored
0e869bf82f30ff6bce3d7cdc66779d8b642c82af introduces this bug, which chops off the last character of the external veth name, and then subsequent move_veth_to_bridge() calls fail: (01.012478) Error (criu/net.c:1758): Can't get index of veth69A67O: No such device travis-ci: success for veth: fix off by one error Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> CC: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
The latter option should hide, the official API is the --external. This patch tests the option, thus completing the deprecation. The legacy -x|--ext-unix-sk test is still in zdtm/static/socket-ext. travis-ci: success for unix: Test the --external instead of --ext-unix-sk Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
Make it possible to distinguish 'no val' from 'empty val'. Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
This fixes 'make criu/<any>.o' build. Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Dmitry Safonov authored
As it should be built anyway - it will not increase build time significally. Cc: Andrei Vagin <avagin@virtuozzo.com> Signed-off-by:
Dmitry Safonov <dsafonov@virtuozzo.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
- 02 Nov, 2016 30 commits
-
-
Tycho Andersen authored
We're using the old cgns prefix length in allocating dirnew, so let's not update it before that. travis-ci: success for cgroup: update cgns prefix *after* using it Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
The pid is set on ctl and in the next patch I'll use one more field. travis-ci: success for Don't get task regs twice Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com> Reviewed-by:
Dmitry Safonov <dsafonov@virtuozzo.com>
-
Pavel Emelyanov authored
It doesn't matter much how late we check this, but in the new place we already have parasite_ctl I will need in the next patch. travis-ci: success for Don't get task regs twice Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com> Reviewed-by:
Dmitry Safonov <dsafonov@virtuozzo.com>
-
Kir Kolyshkin authored
1. Move HOSTCC/HOSTLD to nmk (note there are rules in nmk that make use of these variables already) 2. Make CC/LD derive from HOSTCC/HOSTLD Note that one can still change anything from the command line. travis-ci: success for build system: make CC/LD derive from HOSTCC/HOSTLD Cc: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Acked-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Kir Kolyshkin authored
clang-3.8 fails to compile inline asm having ldarx with 4 args. Quoting [1]: ''' Recent versions of the PowerPC architecture added a hint bit to the larx instructions to differentiate between an atomic operation and a lock operation: > 0 Other programs might attempt to modify the word in storage addressed by EA > even if the subsequent Store Conditional succeeds. > > 1 Other programs will not attempt to modify the word in storage addressed by > EA until the program that has acquired the lock performs a subsequent > store releasing the lock. ''' I also found some more info about this in [2]. Anyway, we could either construct some preprocessor logic to omit this argument for clang, or just drop it. This patch does the latter. [1] https://patchwork.ozlabs.org/patch/45008/ [2] https://sourceware.org/ml/libc-alpha/2015-03/msg00085.html travis-ci: success for PPC+clang compile fixes Cc: Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Acked-by:
Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Kir Kolyshkin authored
Apparently, clang 3.8 ppc doesn't know the register name 'sp'. > criu/cr-restore.c:3179:2: error: unknown register name 'sp' in asm > JUMP_TO_RESTORER_BLOB(new_sp, restore_task_exec_start, > task_args); > ^ > /criu/criu/arch/ppc64/include/asm/restore.h:24:5: note: expanded from > macro 'JUMP_TO_RESTORER_BLOB' > : "sp", "1", "2", "3", "12", "memory") > ^ > 1 error generated. According to docs, stack pointer is r1. travis-ci: success for PPC+clang compile fixes Cc: Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Acked-by:
Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Kir Kolyshkin authored
For gcc, having "inline" is enough to suppress the "unused function" warning. For clang, we have to do better than that. See also: commit 4241078 ("zdtm: compile fix for clang") and commit 3ea2fd78 ("crtools.c: fix compilation by clang"). travis-ci: success for PPC+clang compile fixes Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Acked-by:
Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
Right now struct mount_info only keeps the ext_mount_map for ->val field. Since we're planning to switch onto --external engine we won't have this struct and thus only char *is OK. travis-ci: success for mnt: Deprecate --ext-mount-map for --external Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
The same as for --ext-mount-map auto, but with manual key:val setting in .desc file. travis-ci: success for mnt: Deprecate --ext-mount-map for --external Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Kir Kolyshkin authored
Setting GCOV environment variable is used for doing profiling (gcov). Unfortunately, it is checked in two different ways: 1. In top Makefile and scripts/travis, it is checked against "1". 2. In other places, it's checked to be set to a non-empty value. So, giving various values to GCOV will lead to different results. Let's unify the approaches used. Apparently, among all the code the easiest (and not too strict) way is to check for non-empty value (this also leads to the smallest possible patch size). Note that in Python, evaluating an empty string in a binary context (such as after an "if" statement) equals to False. Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Kir Kolyshkin authored
With this patch, Travis will build/test CRIU using clang, for real. I swear I fixed it before, but the fix was apparently lost. travis-ci: success for series starting with [1/3] compel: mv noexecstack from CFLAGS to LDFLAGS Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
travis-ci: success for headers: Finalize include/common/ Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
travis-ci: success for headers: Finalize include/common/ Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
travis-ci: success for headers: Finalize include/common/ Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
travis-ci: success for common: bitsperlong -- Specify complete path Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
Subprojects usually have own "asm" directory, so to eliminate collision specify complete path. travis-ci: success for common: Use complete path in inclusion Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
travis-ci: success for Common headers Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
travis-ci: success for Common headers Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
Since in criu we can't choose proper arch inside include statements (well, it will simply require more ifdefs), I generate include/common/asm symlink to point proper architecture. travis-ci: success for Common headers Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
travis-ci: success for Common headers Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
travis-ci: success for Common headers Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
travis-ci: success for Common headers Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
travis-ci: success for Common headers Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Cyrill Gorcunov authored
travis-ci: success for Common headers Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
In -dev branch the deps scheme is different as we have soccr and compel bits there, so in master the criu vs piegen vs config deps should look differently. Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
Done with python pprint module (indent = 4, width = 80) for files with more than one field in and with length exceeding 80 characters. Travised-by: https://travis-ci.org/xemul/criu/jobs/171350152 travis-ci: success for zdtm: Split long .desc lines Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Kirill Tkhai authored
Make Debian great again! Travis: https://travis-ci.org/criupatchwork/criu/builds/171342703Signed-off-by:
Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Tycho Andersen authored
This is useful so that hooks can do a $(cat $pidfile) or [ -f $pidfile ] and rely on the result. Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> It-makes-sence-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
-
Pavel Emelyanov authored
This one will contain pid of the task living in a sub-ns and waiting for the rest of the test to get daemonized. Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Travised-by: https://travis-ci.org/xemul/criu/builds/170726663
-