criu/images/pagemap.proto
Andrei Vagin afb2e6c3f9 pagemap: change PagemapEntry.nr_pages to uint64 to support huge mappings
Update the nr_pages field in PagemapEntry to uint64 to prepare for
checkpointing and restoring huge memory mappings.

Backward compatibility with older pagemap images is preserved.

Signed-off-by: Andrei Vagin <avagin@gmail.com>
2025-11-02 07:48:23 -08:00

17 lines
366 B
Protocol Buffer

// SPDX-License-Identifier: MIT
syntax = "proto2";
import "opts.proto";
message pagemap_head {
required uint32 pages_id = 1;
}
message pagemap_entry {
required uint64 vaddr = 1 [(criu).hex = true];
required uint32 compat_nr_pages = 2;
optional bool in_parent = 3;
optional uint32 flags = 4 [(criu).flags = "pmap.flags" ];
optional uint64 nr_pages = 5;
}