Skip to content

Fix breakage of kdata load#849

Merged
tgopinath-microsoft merged 1 commit into
mainfrom
thara/fix-kdata
May 18, 2026
Merged

Fix breakage of kdata load#849
tgopinath-microsoft merged 1 commit into
mainfrom
thara/fix-kdata

Conversation

@tgopinath-microsoft
Copy link
Copy Markdown
Contributor

@tgopinath-microsoft tgopinath-microsoft commented May 15, 2026

kdata load return prematurely because KexecTrampoline metadata is only 2048 and hence not page aligned. For now let kdata load continue and ignore KexecTrampoline metadata if the size does not match. This is a basic fix to prevent heki itself from breaking. A final fix requires discussion on whether the metadata should be atleast a page and code changes possibly in VTL0 and VTL1.

Copy link
Copy Markdown
Contributor

@femiatl femiatl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Nit on title spelling "prem-maturely" -> prematurely

Comment thread litebox_platform_lvbs/src/mshv/vsm.rs
Comment thread litebox_platform_lvbs/src/mshv/vsm.rs
Comment thread litebox_platform_lvbs/src/mshv/vsm.rs
kdata load return prem-maturely because KexecTrampoline metadata is only 2048 and hence
not page aligned. For now let kdata load continue and ignore KexecTrampoline metadata
if the size does not match. This is a basic fix to prevent heki itself from breaking.
A final fix requires discussion on whether the metadata should be atleast a page and
code changes possibly in VTL0 and VTL1.
@github-actions
Copy link
Copy Markdown

ghost commented May 18, 2026

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@tgopinath-microsoft tgopinath-microsoft added this pull request to the merge queue May 18, 2026
Merged via the queue into main with commit 26d5612 May 18, 2026
14 of 18 checks passed
@tgopinath-microsoft tgopinath-microsoft deleted the thara/fix-kdata branch May 18, 2026 15:27
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.

3 participants