Function crosvm_control::crosvm_client_resume_vm_full
source · #[no_mangle]
pub unsafe extern "C" fn crosvm_client_resume_vm_full(
socket_path: *const c_char
) -> bool
Expand description
Resumes the crosvm instance whose control socket is listening on socket_path
.
Note: unlike crosvm_client_resume_vm, this function resumes both vcpus and devices.
The function returns true on success or false if an error occurred.
§Safety
Function is unsafe due to raw pointer usage - a null pointer could be passed in. Usage of !raw_pointer.is_null() checks should prevent unsafe behavior but the caller should ensure no null pointers are passed.