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§
Sourcefn get_vp_index_from_apic_id(
&mut self,
partition_id: u64,
target_vtl: Vtl,
apic_ids: &[u32],
vp_indices: &mut [u32],
) -> HvRepResult
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.