Skip to main content

hw_caps

Function hw_caps 

Source
pub fn hw_caps() -> Option<HwCaps>
Expand description

Synthetic HwCaps for an AMD CPU, or None when SVM is unusable.

The VT-x-shaped fields mean, for AMD-V: nested paging is the “EPT” (4 levels, 2 MiB pages, write-back), unrestricted_guest is true (SVM runs real mode natively), there are no fixed CR0/CR4 bits and no invept (flushing is by ASID, handled in the vCPU).