pub fn qemu_plugin_reset<F>(id: qemu_plugin_id_t, cb: F) -> Result<()>
Expand description
Reset a plugin
§Arguments
id
: The plugin IDcb
: A callback function that will be called when the plugin has been reset.
§Safety
Do NOT assume that the plugin has been reset once this function returns. Plugins are reset asynchronously, and therefore the given plugin receives callbacks until cb is called.