hv1_hypercall

Trait GetVpIndexFromApicId

Source
pub trait GetVpIndexFromApicId {
    // Required method
    fn get_vp_index_from_apic_id(
        &mut self,
        partition_id: u64,
        target_vtl: Vtl,
        apic_ids: &[u32],
        vp_indices: &mut [u32],
    ) -> HvRepResult;
}
Expand description

Implements the HvGetVpIndexFromApicId hypercall.

Required Methods§

Source

fn get_vp_index_from_apic_id( &mut self, partition_id: u64, target_vtl: Vtl, apic_ids: &[u32], vp_indices: &mut [u32], ) -> HvRepResult

Gets a list of VP indices from a list of APIC IDs.

Implementors§