Function qemu_plugin_vcpu_for_each

Source
pub unsafe extern "C" fn qemu_plugin_vcpu_for_each(
    id: u64,
    cb: Option<unsafe extern "C" fn(u64, u32)>,
)
Expand description

qemu_plugin_vcpu_for_each() - iterate over the existing vCPU @id: plugin ID @cb: callback function

The @cb function is called once for each existing vCPU.

See also: qemu_plugin_register_vcpu_init_cb()