page-read: Fix pagemap message formatting

The vaddrs should be %x.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
pie: add EOL in the error message

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
zdtm.sh: don't annotate printing separator line

It's useful, if you like execute bash -x zdtm.sh.
zdtm_sep isn't interesting for debugging needs.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
mem: handle errors of page_xfer_dump_pages()

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
pre-dump: handle errors from page_xfer_dump_pages()

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
deduplication: make seek_pagemap_page properly handle eof

because eof in restore means that we don't have "must have" data, so
it mean error exit, but in dedup, it's ok not to have data we seek, so
we continue returning normally

also it's used that if off < pr-cvaddr then no eof happened and if eof
happened then off >= pr-cvaddr(then return of seek_pagemap_page is 0)

Signed-off-by: Tikhomirov Pavel <snorcht@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
dump: Move pagemap parent checks from mem-dump to page-xfer

When writing pagemaps to page-server we want both page-*.img and pagemap-*.img
to be on remote host. But the subsequent pre-dump/dump with parent images will
try to access pagemap-*img-s to check for hole dumped being present in it.

To handle this, move checks for hole being backed by something in parent into
page-local-xfer. In case of page-server dump it will be page-server who will
check the holes when writing them.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
criu: Remove parent-img service fd

It's no longer needed. All parent manipulations are done in-place
using CR_PARENT_LINK name.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
xfer: Fix formatting for printg (size_t) iov_len

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Update README file so that it looks more informative on github front page

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>