restore: add helper for getting a temporary address of vma
A private vma will be mapped in a temporary place and an address will be saved in vma->shmid, because nobody was used this field for private vma-s before. For easy reading vma_premmapped_addr will be used for getting the temporary address. Signed-off-by:Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment