Function x86_64::interrupts::set_lint
source · pub fn set_lint(vcpu_id: usize, irqchip: &mut dyn IrqChipX86_64) -> Result<()>
Expand description
Configures LAPICs. LAPIC0 is set for external interrupts, LAPIC1 is set for NMI.
§Arguments
vcpu_id
- The number of the VCPU to configure.irqchip
- The IrqChip for getting/setting LAPIC state.