#[no_mangle]
pub unsafe extern "C" fn qemu_plugin_install(
id: qemu_plugin_id_t,
info: *const qemu_info_t,
argc: c_int,
argv: *const *const c_char,
) -> c_int
Expand description
Called by QEMU when the plugin is loaded
§Safety
This function is called by QEMU when the plugin is loaded, and should not be called
by dependent code. The info
pointer is valid for the duration of the function
call, and must not be accessed after the function returns. argv
remains valid for
the duration of the plugin’s lifetime.