• Pavel Emelyanov's avatar
    restore: Restore memory from stack of snapshots · 3307bfd8
    Pavel Emelyanov authored
    This one is a little bit more tricky that dump. On restore we
    should open the chain of pagemap-s (by "parent" links). Then for
    every pagemap with in_parent set we should go to parent and ask
    for the page. Parent, in turn, should properly determine where
    the respective page is in his pagemap and position the page.img's
    position respectively.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    3307bfd8
page-read.c 4.31 KB