[CRIU] [PATCH 12/22] parasite: restore thread registers
Pavel Emelyanov
xemul at parallels.com
Wed May 15 09:24:17 EDT 2013
> @@ -5,6 +5,13 @@
>
> #include "pstree.h"
>
> +struct parasite_thread_ctl
> +{
> + pid_t tid;
> + user_regs_struct_t regs_orig; /* original registers */
> + bool daemonized;
> +};
Threads regs are already collected in CoreEntry-es.
Another option -- don't alloc core-s early, since registers
are here and we can take them.
> +
> /* parasite control block */
> struct parasite_ctl {
> struct pid pid;
More information about the CRIU
mailing list