mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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>
17 lines
366 B
Protocol Buffer
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;
|
|
}
|