Skip to content

Revert checksum validation + stamp shim commit id - #15

Open
shreyanshjain7174 wants to merge 3 commits into
rawahars:live_migration_poc_4from
shreyanshjain7174:user/shsancheti/revert-lm-checksum-validation
Open

Revert checksum validation + stamp shim commit id#15
shreyanshjain7174 wants to merge 3 commits into
rawahars:live_migration_poc_4from
shreyanshjain7174:user/shsancheti/revert-lm-checksum-validation

Conversation

@shreyanshjain7174

@shreyanshjain7174 shreyanshjain7174 commented Jun 11, 2026

Copy link
Copy Markdown

Two commits:

  1. Revert "Enable checksum validation in HCS Live Migration" (c4ac843) - that was a canary diagnostic that hardcoded ChecksumVerification=true and set the migration CRC reg keys. Restores the original option-driven behaviour. For the ACI package we want checksum validation off.

  2. version: fall back to the VCS revision that go build embeds, so the runhcs-v1 shim's -v shows the commit it was built from instead of an empty Revision.

Builds clean; shim -v now prints commit: <sha>.

For ACI packaging work item #38387077.

Shreyansh Sancheti added 2 commits June 11, 2026 15:20
The shim's -v showed an empty Revision because the build populated neither the
embedded internal/version/data files nor -ldflags -X overrides. Fall back to the
git revision that 'go build' embeds automatically (debug.ReadBuildInfo vcs.*),
so the runhcs-v1 shim reports the commit it was built from.
@shreyanshjain7174 shreyanshjain7174 changed the title Revert "Enable checksum validation in HCS Live Migration" Revert checksum validation + stamp shim commit id Jun 11, 2026
Comment out options.ChecksumVerification = opt.ChecksumVerification so no caller can activate memory-page checksum validation during live migration, even if the proto request sets it. With the omitempty tag the field is omitted from the HCS payload entirely.

Signed-off-by: Shreyansh Sancheti <shsancheti@microsoft.com>
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.

1 participant