Type Alias VCPUInitCallback

Source
pub type VCPUInitCallback = qemu_plugin_vcpu_simple_cb_t;
Expand description

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

§Arguments

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

Aliased Type§

pub enum VCPUInitCallback {
    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.