~/talk

Secure TSC for AMD SEVSNP guests

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [security]
links:none on file
slides:none on file

SEV‑SNP exposes secure TSC so guests can run RDTSC/RDTSCP without trusting the hypervisor: the TSC scale and offset live in the encrypted VMSA, and the AMD security processor supplies per‑CPU TSC scale/offset via SNP guest messages. A v5 patch exists; live migration logic to recalculate ratio+offset is proposed but not implemented. Tried lowering KVM clock rating as a workaround; team notes five prior migration attempts that all failed, so correctness is nontrivial.

AI-written summary · about

  1. 0:00Introduction to TSC
  2. 1:49Secure TSC in SEV-SNP
  3. 3:12Live migration challenges
  4. 4:41Secure TSC boot flow
  5. 6:36Clock source integration
  6. 7:18Guest feature detection
  7. 9:52Performance and paravisor concerns
  8. 10:39VMPL transition optimization
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.