Releases: canonical/tdx
2.2
This is a new release for TDX on Ubuntu 24.04
It brings in some bug fixes for TDX software stack and also for setup scripts and tooling.
What's Changed
TDX bugfixes
- libtdxattest : quote generation fails with vsock method #252
- TD VM reboot with virsh reboot is not working #233
Setup tools and utilities
Bugs
- Fix virt-customize resize partition failure by @hector-cao in #210
- system-report : fix too long output for GH issue by @hector-cao in #234
- fix failure in no kvm mode for creating image by @hector-cao in #262
- Allow password authentication method for ssh by @hector-cao in #211
Improvements
- Use official Intel CPU names by @bktan8 in #205
- README.md: add kernel building section by @ThibF in #208
- kvm_intel module comes with tdx enabled by default by @hector-cao in #217
- Use GiB as unit for memory conf in libvirt configuration by @hector-cao in #222
- Make link to Noble ISO generic by @bktan8 in #228
- Add GNR to list of supported CPUs in Readme by @bktan8 in #236
- add network to guest to make it accessible via IP by @hector-cao in #239
- gh action to publish the provider snap by @hector-cao in #241
- Improve package build from source instructions by @hector-cao in #242
- Add indent to fix code block by @frenchwr in #243
- Add step to get free trial of Intel Tiber Trust Service by @bktan8 in #248
- Add script to dump the attestation token by @hector-cao in #257
- Display login information of non-root user in addition to root user by @TejaswineeL in #254
- add check in scripts to alert users to run them as root by @hector-cao in #264
- create-td-image.sh : enforce root requirement by @hector-cao in #268
Testing
- tests: tell tox to capture the TDXTEST_DEBUG variable by @hector-cao in #214
- Improve the guest setup setup by @hector-cao in #215
- PEK 850: Adding part of the higher priority tests by @spmcmillan in #165
- PEK 851 Additions for TDX Priority 2 Tests by @spmcmillan in #216
- tests : fix test_guest_tsc_config test by @hector-cao in #224
- Various improvements of the checkbox provider by @hector-cao in #223
- Improve the management of workdir cleanup for debugging purposes by @hector-cao in #221
- improve tox setup script and config by @hector-cao in #226
- PEK 1233 Add tests as aligned upon with Intel by @spmcmillan in #219
- fix kvm_intel module reload issue by @hector-cao in #227
- Pek614 adding attestation type tests by @spmcmillan in #229
- test_guest_cpu_off: fixes failure by @hector-cao in #230
- test_guest_early_printk : test with the kernel in the guest VM by @hector-cao in #232
- Kexec/Kdump Tests by @spmcmillan in #237
- Adding memory confidentiality tests by @spmcmillan in #235
- tests : add tox command to collect tests by @hector-cao in #238
- add tests for libtdx_attest by @hector-cao in #240
- needs cpuid package on the host by @hector-cao in #244
- tests: add test to check tdx flag in CPU info by @hector-cao in #246
- fix failing tests cause of permanent modification of qemu machine arguments by @hector-cao in #245
- Noble 24.04 move snap provider checkbox24 by @hector-cao in #247
- fix failing test vsock in checkbox provider by @hector-cao in #249
- tests : improve readme to add instructions to list tests by @hector-cao in #250
- tests : add stress test for quote generation by @hector-cao in #251
- add test to check quote generation via vsock by @hector-cao in #253
- tests : move packages used by TDX test to tdx-testing by @hector-cao in #269
New Contributors
- @TejaswineeL made their first contribution in #254
Full Changelog: 2.1...2.2
2.1
Overview
This release adds new features and bug fixes for IntelⓇ Trust Domain Extensions (TDX) on Ubuntu 24.04.
To install this release, you can either do it on a freshly installed 24.04 system or on your existing setup.
TDX Components
- Kernel:
- QEMU:
- Version: 8.2.2
- Updated to 8.2.2 to be in sync with Ubuntu 24.04 mainline QEMU
- Libvirt:
- Version: 10.0.0
- Add support for “Quote-Generation-Service” option
- OVMF/EDK2:
- Version: 2024.02
- Add SecureBoot support for TDs
- Remote attestation components:
- Intel DCAP 1.21 - Refer to upstream source for more details
- Intel Trust Authority Client 1.5.0 - Refer to upstream source for more details
Project Tools and Support
- Change the project license to GPLv3 (#110)
- Remove support for the package tdx-tools
- Move remote attestation packages into a separate PPA to avoid conflicts with Intel’s upstream SGX/DCAP (#158)
- Add system-report.sh script to collect system’s TDX readiness status to help with debugging (#188)
- Minor bug fixes and enhancements for various shell scripts
Known Issues/Current Limitations:
- Nested virtualization is not supported (#200)
- TD doesn't support more than 1 socket/die CPU topology
- Drop of performance if TD’s RAM is not 2M aligned for Transparent Huge Page
- PMU (Performance Monitoring Unit) is currently not supported and it is disabled by default. (#182)
- Graphics support is disabled (graphic and remote access like VNC are all not supported). (#202)
- I/O device pass-through is not fully supported (#137)
- Guest Kexec is currently not supported (#204)
2.0
Overview
This is the release of Intel© Trust Domain Extensions (TDX) with base host, guest, and remote attestation functionalities on Ubuntu 24.04. If you already have an ongoing engagement with Canonical, please reach out to your Canonical contact to confirm whether this is the appropriate version.
Features
- The host kernel, known as -intel, is based on 6.8 with the TDX v19 KVM patchset. Source link.
- QEMU version: 8.2.1
- libvirt version: 10.0.0
- Supported Ubuntu guests are:
- Ubuntu 24.04 6.8 linux-generic
- Ubuntu 24.04 6.8 linux-intel
- Remote attestation components:
- Intel DCAP 1.20
- Intel Trust Authority Client 1.2.0
- Improved
virsh
wrapper tool calledtdvirsh
, which handles the creation of domain XML files and overlay images for TDs.
Test Configuration
- CPU: Intel 4th Gen (only TDX SKUs) and 5th Gen Xeon Scalable Processors
- TDX Module: TDX_1.5.05.46.698
Known Issues/Limitations
- Failure to boot TD with console=hvc0 in kernel command line and QEMU cmd -serial stdio. This bug is being tracked here.
- Transparent Hugepage won’t work if memory configuration of TD guest is not 2M aligned.
- TD doesn't support more than 1 socket CPU topology.
- TD with large VCPU and memory configuration takes longer to boot.
- virtio-net in the TD guest may stop working at some point after bootup if the host enables numad service. This bug is being tracked here.
1.2
Overview
This release fixes an issue with a missing package and also adds a new flag to the TD libvirt tool for Intel© Trust Domain Extensions (TDX) on Ubuntu 23.10.
Bug Fix
- Install missing networking module during host provisioning (#53)
Feature
- Add support to
td_virsh_tool.sh
for listing SSH ports of running TDs (#55)
1.1
Overview
This release introduces remote attestation functionality and other improvements for Intel© Trust Domain Extensions (TDX) on Ubuntu 23.10.
Features
- Add remote attestation functionality along with detailed usage instructions (#51)
- Improve host robustness by ensuring the TDX-enabled kernel is used by grub for subsequent reboots (#47)
- Add support for running multiple TDs simultaneously with libvirt (#43)
- Add missing dependencies to script responsible for creating TD image (diff)
- Update source download instructions (#41)
Known Issues
1.0
Overview
This is the initial release of Intel© Trust Domain Extensions (TDX) with base host and guest functionalities on Ubuntu 23.10.
The section below lists tools to setup the TDX host, create a TD guest, and boot it.
Tools
setup-tdx-host.sh: provisions a Ubuntu 23.10 host with TDX-enabled 6.5 kernel and packages
create-tdx-image.sh: creates a TD QEMU guest image
setup-tdx-guest.sh: converts a non-TD guest image to a TD-enabled guest
run_td.sh: boots a TD guest with QEMU
run_td_virsh.sh: boots a TD guest with virsh (libvirt)
README.md: describes the purpose, usage, and typical results of various scripts