~/talk

KVM Nested Virtualization: Workings and Usecases

Talkat FOSSASIA Summit 2017 · 2017-03-17..03-19· [linux-and-operating-systems]
links:none on file
slides:none on file

KVM implements x86 nested virtualization by trapping a guest’s VMCS creation, synthesizing a minimal host VMCS (the VMCS02 subset) and running L2 on behalf of L1, with optimizations like nested EPT and shadow VMCS to avoid massive VM exits. Results: a kernel build drops from ~34 to ~10 minutes with nested EPT, CPU‑bound workloads hit ~96–97% of bare‑metal performance. Features include preemption timers, interrupt acknowledgement, nested VPIDs, MSR load/store and ongoing nested VT‑d work. Enable with modprobe kvm_intel nested=1 and expose VMX in QEMU.

AI-written summary · about

  1. 0:00Intro
  2. 0:30INTRODUCTION TO NESTED VIRTUALIZATION
  3. 2:47STATE OF NESTED VIRTUALIZATION
  4. 4:19HOW IT WORKS
  5. 7:12COST OF NESTED VIRTUALIZATION
  6. 12:56FEATURES TO IMPROVE PERFORMANCE
  7. 17:54SETTING UP
  8. 18:59USECASES
  9. 20:34WAYS TO CONTRIBUTE
~/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.