Type Alias qemu_plugin::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§

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.