Skip to content

Convert memoryFileSaved to MemoryFileMetadataProto. - #13922

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl956636295
Open

Convert memoryFileSaved to MemoryFileMetadataProto.#13922
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl956636295

Conversation

@copybara-service

Copy link
Copy Markdown

Convert memoryFileSaved to MemoryFileMetadataProto.

Replace memoryFileSaved Go struct serialization (via pkg/state) with
a stable, length-prefixed Protobuf schema (MemoryFileMetadataProto)
in pkg/sentry/pgalloc/pgalloc.proto. This decouples MemoryFile checkpointing
from internal Go struct layouts across all save/restore modes.

Replace memoryFileSaved Go struct serialization (via pkg/state) with
a stable, length-prefixed Protobuf schema (MemoryFileMetadataProto)
in pkg/sentry/pgalloc/pgalloc.proto. This decouples MemoryFile checkpointing
from internal Go struct layouts across all save/restore modes.

PiperOrigin-RevId: 956636295
@copybara-service copybara-service Bot added the exported Issue was exported automatically label Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant