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

Workflow for Issuing SEAMCALLs #255

Open
pansilup opened this issue Oct 25, 2024 · 3 comments
Open

Workflow for Issuing SEAMCALLs #255

pansilup opened this issue Oct 25, 2024 · 3 comments

Comments

@pansilup
Copy link

Hi there, I'm looking for some information on the workflow of issuing SEAMCALLs and have some basic questions. Can I check if TDX enlightened KVM has opened up new TDX specific ioctls for user space (e.g., QEMU) to initiate/issue SEAMCALLs as part of TDX-Env/TD management?
For instance,
1.Who is supposed to call "tdx_enable()" in https://github.com/torvalds/linux/blob/ae90f6a6170d7a7a1aa4fddf664fbd093e3023bc/arch/x86/virt/vmx/tdx/tdx.c#L1215
2.How does a SEAMCALLs (such as TDH_MNG_CREATE) request arrive at https://github.com/torvalds/linux/blob/ae90f6a6170d7a7a1aa4fddf664fbd093e3023bc/arch/x86/virt/vmx/tdx/seamcall.S#L21
Any information or documentation on this would be greatly appreciated.

Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/PEK-1416.

This message was autogenerated

@bktan8
Copy link
Collaborator

bktan8 commented Oct 25, 2024

@pansilup - Please take a look at https://docs.kernel.org/arch/x86/tdx.html.

@pansilup
Copy link
Author

@bktan8 Thanks for the response and the link. I had previously checked this. It doesn't answer my specific questions.

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

No branches or pull requests

2 participants