- 27 Jan, 2012 16 commits
-
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Otherwise debug printing has no inode number in report. Not really it's that important but very convenient if you need detailed output. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Stanislav Kinsbursky authored
Signed-off-by:
Stanislav Kinsbursky <skinsbursky@parallels.com> Acked-by:
Pavel Emelyanov <xemul@openvz.org> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
https://github.com/avagin/crtoolsCyrill Gorcunov authored
* 'zdtm' of https://github.com/avagin/crtools: zdtm: remove warnings zdtm: move tast_daemon after preparation actions zdtm: fix warnings in mmx00.c zdtm: say no to EINTR zdtm: fix warning in Makefile zdtm: fix warning in transition/ptrace.c zdtm: initilize a variable in cmdlinenv00.c
-
Andrey Vagin authored
It may be legal. E.g. for zombie Signed-off-by:
Andrey Vagin <avagin@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Andrey Vagin authored
-
Andrey Vagin authored
-
Andrey Vagin authored
mmx00.c:22:34: warning: array subscript is above array bounds [-Warray-bounds] mmx00.c:22:34: warning: array subscript is above array bounds [-Warray-bounds] PSUBW handles 64 bits.
-
Cyrill Gorcunov authored
Otherwise if restored task exit we get error message in form | Error (cr-restore.c:1302): 7244 exited, status=0 while restored task simply finished working. Pointed-out-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Everyone have known that EINTR is returned due to cpt/rst. But it's error, we forgot to set SA_RESTART;).
-
Andrey Vagin authored
Makefile:100: warning: overriding commands for target cmdlinenv00.pid' Makefile:91: warning: ignoring old commands for target cmdlinenv00.pid'
-
Andrey Vagin authored
-
Andrey Vagin authored
-
- 26 Jan, 2012 13 commits
-
-
Cyrill Gorcunov authored
Otherwise use-after-free error happens. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Cyrill Gorcunov authored
Convenient for debug purpose. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
This one is actually an internal kernel magic number for pipefs filesystem and shouldn't be changed. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Existing ones are boring. Let's switch them into geographical coordinates of various Russian towns in NNNNEEEE form. 4 digits for a coordinate give us up to 2km of inaccuracy, which is more than enough to find a town. We cannot use longitude further than 99.99, i.e. we won't cover the Far East region, but that's OK -- there's more than enough good candidates even in the European part of the country only. Feel free to extend. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Andrey Vagin authored
* handle EINTR * add more details in an error message Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Plus a small infrastructure change to fork a test task in a desired namespace. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Only two fields are modifiable -- hostname and domainname. So read them on dump and write on restore. File format is simple -- u32 magic u32 length of nodename u8[] nodename string u32 length of domainname u8[] domainname string For OpenVZ we can write the release at the end, but this is later. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
New option -n to dump/restore namespaces. Fork the namespaces dumping task and write a helper for switching a namespace. Prepare the restorer code for restoring namespaces before root task. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
In order to restore task in namespaces we'll have to clone() them, not fork. Thus switch the restorer into using clone. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
I will need them in the place where we restore the root task. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Split the CR_FD_ bits into per-task and global ones and replace of CR_FD_DESC_NOPSTREE with CR_FD_DESC_TASK, which is explicit set of per-task bits. The CR_FD_DESC_NS will appear soon. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Stanislav Kinsbursky authored
Usefull for debugging. Signed-off-by:
Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by:
Andrey Vagin <avagin@gmail.com>
-
Stanislav Kinsbursky authored
Cleanup and simplifyng (as requested). Signed-off-by:
Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by:
Andrey Vagin <avagin@gmail.com>
-
- 25 Jan, 2012 6 commits
-
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Reviewed-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Reviewed-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Reviewed-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Common code for all makefiles. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Reviewed-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Cyrill Gorcunov authored
This is more informative to know which exactly name failed. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 24 Jan, 2012 5 commits
-
-
Cyrill Gorcunov authored
Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
And increase the timeout value, since the timers test checks for counters for more than 5 seconds... Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Timers are dumped from inside parasite code, the format is plain -- just 3 pairs of interval/value one-by-one. The restoration occurs in two stages -- first prepare the timer values in restorer (and check for sanity), then setup the timers in the latest stage before actually calling the sigreturn. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-
Pavel Emelyanov authored
Move the common file-opening code into a separate function. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
-