pub unsafe extern "C" fn krun_set_firmware(
ctx_id: u32,
firmware_path: *const c_char,
) -> i32Expand description
Sets the path to the firmware to be loaded into the microVM.
Arguments: “ctx_id” - the configuration context ID. “firmware_path” - the path to the firmware, relative to the host’s filesystem.
Returns: Zero on success or a negative error number on failure.