Better HN
topnewbestaskshowjobs
Log inSign up

njubee

2 karma · joined Oct 27, 2015 (11y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

Nothing changed to the CPU that favors PVM.

PVM is more efficient than Intel VT and AMD-V on nested virtualization since PVM doesn't cause VMexit back to L0 hypervisor in (al)most cases while Intel VT and AMD-V often involve L0/L1/L2 dancing.

The name "Pagetable Virtual Machine" mainly comes from its privilege-separation. X86_64 doesn't have ring1 nor enforce segment limits, so it cannot use ring1+segment like xenpv 32-bit. Separated pagetables are the only solution for privilege-separation.

Except for virtualizing addresses, pagetables are also crucial for mapping the switcher, emulating SMEP/SMAP, and so on.