- 14 May, 2013 3 commits
-
-
Pavel Emelyanov authored
For pre-dump we won't need IDs, but will need items only, thus make these two calls separate. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
They are not documented, thus OK for now. Two options -- * one to specify where the parent images are * one to reset dirty memory tracking Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
This is required for (soon to be) pre-dump command -- this command will have to keep parasite args with pagemap (iovecs) some time after parasite is executed. Since we call mprotect cmd _after_ pages dump we can thus spoil these iovecs. To address this vmas to mprotect and iovecs to dump are located in one parasite args area one after another without intersections. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 13 May, 2013 8 commits
-
-
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
Options are collected in global variable, no need to have them on stack. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Basic timings for dump (freeze, frozen, mem dump). Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
It's not perfect, only the depth is taken into account, not the field number, but this is OK for now. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
We'll have one more "image" file generated by dump and (surprisingly) restore commands -- the stats one. It will contain in a single pb object all the statistics collected by dump/restore. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 10 May, 2013 5 commits
-
-
Kir Kolyshkin authored
Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
...after commit 1e1bf240Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 08 May, 2013 3 commits
-
-
Pavel Emelyanov authored
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>
-
Kir Kolyshkin authored
and warn if it is used. v2: fix help text as well Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 07 May, 2013 11 commits
-
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
This thing is global, we can address one explicitly. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
We can "guess" one w/o addirional (obfuscating) argument to the pb showing engine. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
For consistency sake. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Alexander Kartashov authored
The infected code must be executed in the ARM mode but the dumpee may run in the Thumb mode while being dumped so the bit CPSR.T may be set when the control is transfered to the infected blobs so this code is executed in the Thumb mode too. We have to clear the bit CPSR.T before transfering control to the infected code to prevent the behavior described above. Signed-off-by:
Alexander Kartashov <alekskartashov@parallels.com> Reported-by:
Chanho Park <chanho61.park@samsusng.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
In case if we are migrating a session leader task with a solely slave peer we should not try to restore a group on the terminal but rather simply inherit it, because a session of the group of the inherited terminal is not the same as a session of our leader thus kernel refuse to set any different group here. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Since we're migrating session leader here, test for session has not been changed instead. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
This is easier for debugging, the former SID/PGID remains untouched and printed out in logs. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 04 May, 2013 2 commits
-
-
Chanho Park authored
If enabled CONFIG_VFP, we should use PTRACE_GETVFPREGS instead of GETFPREGS. Most of arm hardwares(since then armv6) use VFP. If we need runtime checking of vfp, we should parse /proc/cpu_info or use any other techniques. Signed-off-by:
Chanho Park <chanho61.park@samsung.com> Signed-off-by:
Myungjoo Ham <myungjoo.ham@samsung.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Libo Chen authored
Avoid memleak in err case Signed-off-by:
Libo Chen <libo.chen@huawei.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 02 May, 2013 8 commits
-
-
Kir Kolyshkin authored
Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
Note to package maintainers: 1 Yes we do support DESTDIR. 2 From packaging scripts, use something like this: make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr (v2: add PREFIX, install to /usr/local not /usr by default) (v3: fix criu man section -- it is 8 not 1) Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Libo Chen authored
Without this patch, ifd will leak when inotify_add_watch fail. Signed-off-by:
Libo Chen <libo.chen@huawei.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Libo Chen authored
Without this patch, fd will leak when epoll_create fail! Signed-off-by:
Libo Chen <libo.chen@huawei.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
Let's save 4 lines of output and put -vvv at the same line as -v 3. Also, -v argument is in fact option, so mark it as such: [NUM] Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
From where I stand, any help output that exceeds 80 columns is hardly readable, so let's try to fit into that. Apparently in many cases we can do that by removing some extra info which, I guess, belongs to documentation or wiki but not to --help output which should be just a short reference. For this reason, this patch also removes information about environmental variable set for external scripts -- such documentation does not belong here. Please review carefully to make sure I haven't thrown the baby out with the bathwater. Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
1. "written in file" -> "written to file" 2. "relative path is relative" -> "path is relative" 3. "each restored processes is written to the FILE.pid file\n" -> "log of each restored process is written to a separate FILE.pid file" Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
Alternatively, we could add [<options>] but since this is the only option let's just add this one. Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-