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

kernel: Add CONFIG_TDX_GUEST_DRIVER to the tdx.conf #8556

Merged

Conversation

fidencio
Copy link
Member

@fidencio fidencio commented Dec 4, 2023

The driver enables the userspace interface to communicate with the TDX module to request the TDX guest details, like the attestation report.

Fixes: #8555

The driver enables the userspace interface to communicate with the TDX
module to request the TDX guest details, like the attestation report.

Fixes: kata-containers#8555

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
@fidencio
Copy link
Member Author

fidencio commented Dec 4, 2023

/test

Copy link
Contributor

@jodh-intel jodh-intel left a comment

Choose a reason for hiding this comment

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

Thanks @fidencio.

lgtm

Copy link
Member

@ChengyuZhu6 ChengyuZhu6 left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @fidencio !

@fidencio
Copy link
Member Author

fidencio commented Dec 4, 2023

With this patch applied I got:

$ sudo /opt/kata/bin/kata-runtime exec busybox
root@localhost:/# ls /dev/tdx_guest
/dev/tdx_guest

Copy link
Member

@arronwy arronwy left a comment

Choose a reason for hiding this comment

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

Thanks @fidencio LGTM!

@fidencio fidencio merged commit 8d7e0f7 into kata-containers:main Dec 4, 2023
169 of 241 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/tiny Smallest and simplest task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kernel: tdx: /dev/tdx_guest device is not available on the kata containers VM
5 participants