Skip to main content

share_step

Function share_step 

Source
pub fn share_step(
    host: &Host,
    elevation: Elevation,
) -> Result<Step, ShareFailed>
Expand description

The step that sets KVM on host to share the CPU’s virtualization, elevated by elevation: its modules loaded again when nothing uses KVM now (kvm::in_use).

§Errors

ShareFailed::NotHere off Linux, ShareFailed::BuiltIn where KVM isn’t a module.