[CRIU] [PATCH 00/19] Parasite daemon mode, v1
Cyrill Gorcunov
gorcunov at openvz.org
Tue Feb 26 08:08:42 EST 2013
Hi guys, I'm pleased to announce that named "parasite daemon mode"
where we switch parasite code to a daemon which waits for commands
from main crtools module.
All tests are passed, but I've tested it on x86-64 only and ARM
version will require some tunning, in particular there is a patch
named "x86: parasite -- Add call_daemon_thread and asm_trap helpers"
thus same helpers are needed for ARM.
Alexander, mind to take a look and check if this would be hard
to implement the same for ARM platform?
Please review, comments are welcome.
Cyrill Gorcunov (19):
Move BUG_ONs to include/bug.h
lock: Include bug.h instead of big util.h
pie: Pass CR_NOGLIBC in pie/Makefile
parasite: Print unknown command number
parasite-syscall: Use pr_perror on prctl call failure
pstree: Bind CoreEntry to pstree item
dump: Collect registers of dumpee early
pie: parasite -- Move struct tid_state_s to include/parasite.h
pie: parasite -- Allocate tid_state_s as shared memory
parasite-syscall: Make a local map for tid_state_s
parasite: Prepare struct tid_state_s for daemonization
x86: parasite -- Add call_daemon_thread and asm_trap helpers
dump: Dump threads right before parasite cure
parasite-syscall: Rename __parasite_execute to __parasite_execute_trap
parasite-syscall: Rename parasite_execute_by_pid to
parasite_execute_trap_by_pid
parasite-syscall: Rename parasite_execute to parasite_execute_trap
parasite-syscall: Initialize global key for tid_state_s
parasite: Init cmd/ack fields on thread init
parasite: Introduce parasite daemon mode
arch/arm/crtools.c | 2 +-
arch/x86/crtools.c | 2 +-
arch/x86/include/asm/parasite.h | 26 +++++
cr-dump.c | 130 ++++++++++--------------
include/bug.h | 30 ++++++
include/lock.h | 2 +-
include/parasite-syscall.h | 6 +-
include/parasite.h | 37 +++++++
include/pstree.h | 5 +-
include/util.h | 31 +-----
parasite-syscall.c | 217 +++++++++++++++++++++++++++++++++-------
pie/Makefile | 2 +-
pie/parasite.c | 169 ++++++++++++++++++++++---------
pie/restorer.c | 1 -
pstree.c | 85 +++++++++++++++-
15 files changed, 546 insertions(+), 199 deletions(-)
create mode 100644 include/bug.h
--
1.8.1.2
More information about the CRIU
mailing list