Skip to content

refactor(migtd): unify migration and rebinding VMM request buffer layout#869

Open
haitaohuang wants to merge 1 commit into
intel:mainfrom
haitaohuang:upstream/pr2b-init-tdinfo
Open

refactor(migtd): unify migration and rebinding VMM request buffer layout#869
haitaohuang wants to merge 1 commit into
intel:mainfrom
haitaohuang:upstream/pr2b-init-tdinfo

Conversation

@haitaohuang
Copy link
Copy Markdown
Contributor

@haitaohuang haitaohuang commented May 29, 2026

Fold init_td_info into MigtdMigrationInformation

Add init_td_info [u8; 512] field to MigtdMigrationInformation so both
migration and rebinding use the same VMM request buffer layout. Delete
RebindingInfo, InitData, and init_data.rs. Widen policy_v2 cfg gates
that were incorrectly restricted to vmcall-raw only.

Peer-to-peer wire protocol is unchanged.

fixes #868

@haitaohuang haitaohuang requested review from jyao1 and sgrams as code owners May 29, 2026 19:15
Comment thread src/migtd/src/spdm/spdm_req.rs Outdated
@haitaohuang haitaohuang marked this pull request as draft May 29, 2026 20:10
@haitaohuang haitaohuang force-pushed the upstream/pr2b-init-tdinfo branch from b34b699 to c335d76 Compare May 29, 2026 21:04
@haitaohuang haitaohuang changed the title refactor(migtd): unify init_td_info handling for all transports refactor(migtd): unify migration and rebinding VMM request buffer layout May 29, 2026
@haitaohuang haitaohuang force-pushed the upstream/pr2b-init-tdinfo branch from c335d76 to 262ea9a Compare May 29, 2026 21:08
Add init_td_info [u8; 512] field to MigtdMigrationInformation so both
migration and rebinding use the same VMM request buffer layout. Delete
RebindingInfo, InitData, and init_data.rs. Widen policy_v2 cfg gates
that were incorrectly restricted to vmcall-raw only.

Peer-to-peer wire protocol is unchanged.

Signed-off-by: Haitao Huang <haitaohuang@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@haitaohuang haitaohuang force-pushed the upstream/pr2b-init-tdinfo branch from 262ea9a to 72fb08f Compare May 29, 2026 21:35
@haitaohuang haitaohuang marked this pull request as ready for review May 29, 2026 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rebinding protocol mismatch with spec

1 participant