Address Space Isolation for Xen
summary
Xen adds true address space isolation by shadowing PV root tables to create per-vCPU root page tables, converting the per-domain slot into a per-CPU slot and removing DOM heap pages from the direct map so secrets live only in unmapped DOM-heap pages. Stacks move into DOM heap and are mapped on demand with map_domain_page; direct-map removal series is at v5 and CPU-mapping at v2/v3, a working prototype runs, and mitigations shift from entry points to the context-switch path with measurable performance tradeoffs. direct map holes
AI-written summary · about
chapters (14)
- 0:00Introduction and thanks
- 1:24What is address space isolation
- 3:08Terminology and memory types
- 5:57Previous efforts and limitations
- 6:38Xen virtual memory map
- 10:10Per-CPU mappings challenge
- 15:00CPU stack isolation issues
- 18:14Direct map removal overview
- 20:19Hiding secrets in direct map
- 23:07Struct vCPU secret data
- 24:31FPU state and xsave complexity
- 27:23Live migration and state access
- 29:13Current work status
- 31:40Q&A session
