[CRIU] [PATCH 00/10] Parasite daemon mode, v3

Cyrill Gorcunov gorcunov at openvz.org
Mon Mar 4 07:53:08 EST 2013


Hi guys, here is a parasite daemon mode updated series.
Main changes is that -- tsock is used for both: commands
and data transfer. arm still is not converted thus won't
be working with this series, once it's accepted we need
a few fixes to arm code.

Please take a look. Thanks.

Cyrill Gorcunov (10):
  pstree: Bind CoreEntry to pstree and fill it with registers early
  x86: syscalls -- Add sys_sendto/sys_recvfrom helpers
  x86: parasite -- Add call_daemon_thread and asm_trap helpers
  parasite-syscall: Add "trap" postfix to parasite execute functions
  parasite: Extend tid_state_s structure
  parasite: Initialize tid_state_s::real on parasite bootstrap
  parasite: Use thread state hash for fast lookup over thread state
    areas
  parasite: Prepare structures for daemon mode
  parasite: Initialize @cmd/ack in init_thread
  parasite: Switch parasite to daemon mode

 arch/arm/crtools.c              |  14 +-
 arch/arm/include/asm/dump.h     |   2 +-
 arch/x86/crtools.c              |  14 +-
 arch/x86/include/asm/dump.h     |   2 +-
 arch/x86/include/asm/parasite.h |  26 ++++
 arch/x86/syscall-x86-64.def     |   2 +
 cr-dump.c                       | 116 ++++++---------
 include/parasite-syscall.h      |   2 +-
 include/parasite.h              |  25 ++++
 include/pstree.h                |   5 +
 parasite-syscall.c              | 253 ++++++++++++++++++++++++++++-----
 pie/parasite.c                  | 306 +++++++++++++++++++++++++++++++++-------
 pstree.c                        |  70 +++++++++
 13 files changed, 656 insertions(+), 181 deletions(-)

-- 
1.8.1.2


More information about the CRIU mailing list