[CRIU] Re: [PATCH cr] util: remove open_image_ro_nocheck
Pavel Emelyanov
xemul at parallels.com
Tue Mar 20 13:19:57 EDT 2012
On 03/20/2012 01:42 PM, Andrey Vagin wrote:
>
> It looks like a hack
>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
> cr-restore.c | 18 ++++++++----------
> crtools.c | 12 +++++++++---
> include/crtools.h | 6 +++---
> restorer.c | 2 --
> util.c | 13 -------------
> 5 files changed, 20 insertions(+), 31 deletions(-)
>
> @@ -57,6 +57,12 @@ struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX] = {
> .magic = CORE_MAGIC,
> },
>
> + /* core data, such as regs and vmas and such */
> + [CR_FD_CORE_OUT] = {
> + .fmt = FMT_FNAME_CORE_OUT,
> + .magic = CORE_MAGIC,
> + },
> +
> /* info about pipes - fds, pipe id and pipe data */
> [CR_FD_PIPES] = {
> .fmt = FMT_FNAME_PIPES,
Не-не-не, этот img.out надо вообще убить.
More information about the CRIU
mailing list