Function crosvm_control::crosvm_client_balloon_wsr_config
source · #[no_mangle]
pub unsafe extern "C" fn crosvm_client_balloon_wsr_config(
socket_path: *const c_char,
config: *const BalloonWSRConfigFfi,
) -> bool
Expand description
Set Working Set Reporting config in guest.
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 C
string that is valid for reads and not modified for the duration of the call. config
should
be a pointer to a BalloonWSRConfigFfi
valid for reads that is not modified for the duration
of this call.