Skip to content

Cherry-pick Preserve guest XSAVE state across userland transitions (#1537) to ulitebox - #1567

Merged
Weiteng Chen (CvvT) merged 4 commits into
uliteboxfrom
cherry-pick/d11328a-preserve-guest-xsave-state
Oct 12, 2026
Merged

Weiteng Chen (CvvT) merged 4 commits into
uliteboxfrom
cherry-pick/d11328a-preserve-guest-xsave-state

Conversation

@CvvT

@CvvT Weiteng Chen (CvvT) commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Cherry-picks d11328a from main to ulitebox.

This PR also cleans up the code in litebox_platform_linux_userland to move arch-dependent to their corresponding modules.

Also fix fork to support fp state for x86_64.

Weiteng Chen (CvvT) and others added 4 commits October 9, 2026 17:30
This PR adds support for preserving guest x87, SSE, and supported
extended state across Linux syscalls, exceptions, signals, interrupts,
and thread re-entry.

Also refactored the structure of `litebox_platform_linux_userland` to
have a x86_64 module and added `litebox_common` crate to share code
across different shims and platforms.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

🤖 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.

@CvvT
Weiteng Chen (CvvT) marked this pull request as ready for review October 12, 2026 19:47
@CvvT
Weiteng Chen (CvvT) added this pull request to the merge queue Oct 12, 2026
Merged via the queue into ulitebox with commit 5f57c92 Oct 12, 2026
11 of 12 checks passed
@CvvT
Weiteng Chen (CvvT) deleted the cherry-pick/d11328a-preserve-guest-xsave-state branch October 12, 2026 20:06
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