Type Alias VCPUExitCallback

Source
pub type VCPUExitCallback = qemu_plugin_vcpu_simple_cb_t;
Expand description

A callback that can be called many times, each time a vCPU exits

§Arguments

  • id: The plugin ID
  • vcpu_index: The index of the vCPU that exited

Aliased Type§

pub enum VCPUExitCallback {
    None,
    Some(unsafe extern "C" fn(u64, u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u64, u32))

Some value of type T.