Function hyperv_cpuid_leaves

Source
pub fn hyperv_cpuid_leaves(
    extended_ioapic_rte: bool,
) -> impl Iterator<Item = CpuidLeaf>
Expand description

Returns CPUID leaves for Hyper-V-style VMs.

extended_ioapic_rte indicates that MSIs and the IOAPIC can reference a 15-bit APIC ID instead of the architectural 8-bit value. To match Hyper-V behavior, this should be enabled for non-PCAT VMs.