Function crosvm_control::crosvm_client_swap_disable_vm

source ·
#[no_mangle]
pub unsafe extern "C" fn crosvm_client_swap_disable_vm(
    args: *mut SwapDisableArgs,
) -> bool
Expand description

Disable vmm swap according to args.

The function returns true on success or false if an error occurred.

§Safety

Function is unsafe due to raw pointer usage - socket_path should be a non-null pointer to a SwapDisableArgs instance valid for writes that is not externally modified for the duration of this call.