Skip to main content

krun_check_nested_virt

Function krun_check_nested_virt 

Source
pub unsafe extern "C" fn krun_check_nested_virt() -> i32
Expand description

Check the system if Nested Virtualization is supported

Notes: This feature is only supported on macOS.

Returns:

  • 1 : Success and Nested Virtualization is supported
  • 0 : Success and Nested Virtualization is not supported
  • <0: Failure