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

Question about the tdx #316

Open
BigBoy3003 opened this issue Jan 18, 2025 · 4 comments
Open

Question about the tdx #316

BigBoy3003 opened this issue Jan 18, 2025 · 4 comments

Comments

@BigBoy3003
Copy link

I am new to working with Intel TDX and wanted to try something for a project of mine. I wanted to try to install these tdx dependencies on a custom guest VM, but unfortuately the canonical of course requires Ubuntu. My VM runs a custom distribution as for example in the yocto project, and so i wanted to ask if there is any way to do this on a guest VM that does not have Ubuntu installed/is another type of distribution? I do not know if this is the right place to ask this but i though you might have the most insight.

Copy link

Thank you for reporting your feedback to us!

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

This message was autogenerated

@hector-cao
Copy link
Collaborator

Hello, to enable TDX, we need a customized Host OS (in our case, it is a Ubuntu), I m not sure of your intention when you mention you want to deploy tdx dependencies on a custom Guest VM,

@BigBoy3003
Copy link
Author

BigBoy3003 commented Jan 21, 2025

maybe i expressed myself wrong let me calrify. in section 5 of creating a TD image step 5.1 says: 5.1 Create a New TD Image
A TD image based on Ubuntu 24.10 can be generated with the following commands: and so on. i tried this method and it works perfectly untill the end. what i am intersted in is step 5.2 where it says: 5.2 Convert a Regular VM Image into a TD Image
If you have an existing Ubuntu (24.04 or 24.10) VM image, you can enable the Intel TDX feature using the following steps: and so on.
my question is here. is there any way for a vm that is not running ubuntu but some custom distribution , such as yocto in my case, to be able to complete step 5.2 or some other similar method in order to enable tdx features?
tell me if i need to calrify any further and thank you

@hector-cao
Copy link
Collaborator

@BigBoy3003 so, we are talking about creating the VM image, for the VM image, you do not need to use Ubuntu neither follow the instructions in the section 5.1, 5.2. The upstream kernel has already TDX support for the guest VM so if you use a recent kernel in your custom distribution, it will work (kernel version >= 5.19).

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