Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal to change existing TDCALL APIs to support TD Partitioning #708

Closed
vijaydhanraj opened this issue Jun 6, 2024 · 0 comments · Fixed by #713
Closed

Proposal to change existing TDCALL APIs to support TD Partitioning #708

vijaydhanraj opened this issue Jun 6, 2024 · 0 comments · Fixed by #713
Assignees

Comments

@vijaydhanraj
Copy link
Contributor

TD partitioning may require few changes to existing TDCALLs. These APIs are listed below,

  • Existing API Changes:
    • Add a return type indicating success and failure for tdvmcall_wrmsr, tdvmcall_rdmsr.
    • Extend TdInfo struct to add vcpu_index field.
      • TdInfo stores the result from the tdcall tdcall_get_td_info. vcpu_index is one of the values returned in R9 bit0 ~ 31. Save this returned vcpu_index in TdInfo.
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 a pull request may close this issue.

2 participants