Testing Intel TDX functionality with new set of self tests
summary
Google's TDX self-test framework runs coordinated host and guest code using the JCI guest‑host channel and TD calls to exercise CPUID, MMIO, MSR and IO paths, and it exposes corner cases standard VMs miss. The suite uncovers an MSR access bug caused by an unrelated KVM change, supports incremental features like live migration testing, and has validated commits across 700 changes in development; tests run without a full hypervisor and reproduce host/guest memory races.
AI-written summary · about
chapters (8)
- 0:00Introduction to TDX testing
- 1:24Self-test development journey
- 3:55Discovered MSR access bug
- 8:10Self-test use cases explained
- 10:22New feature development with self-tests
- 12:50How self-tests work technically
- 16:03Summary and call for contributions
- 17:10Q&A on integration
related talks
22mKnow your QEMU and KVM Test Frameworks
28mKVM-unit-tests: When "KVM" Doesn't Mean KVM
01h 22mTest-Driven Development of C++ Embedded and System-Level Software
54mTDD for Microcontrollers
30mKernel Testing with KUnit: Bridging the Gap
38mHow we implemented TDD in Embedded C/C++
19mUpstream kernel CI using patchew and TDC
18mHow to Write and Run Tests in the New DPDK Test Framework – Luca Vizzaro & Patrick Robb
