Function qemu_plugin_uninstall

Source
pub fn qemu_plugin_uninstall<F>(id: qemu_plugin_id_t, cb: F) -> Result<()>
where F: FnOnce(qemu_plugin_id_t) + Send + Sync + 'static,
Expand description

Uninstall a plugin.

§Arguments

  • id: The plugin ID
  • cb: A callback function that will be called when the plugin has been uninstalled.

§Safety

Do NOT assume that the plugin has been uninstalled once this function returns. Plugins are uninstalled asynchronously, and therefore the given plugin receives callbacks until cb is called. This function must not be called from qemu_plugin_install.