Scroll to navigation

IRQ_SET_VCPU_AFFINIT(9) Public Functions Provided IRQ_SET_VCPU_AFFINIT(9)

NAME

irq_set_vcpu_affinity - Set vcpu affinity for the interrupt

SYNOPSIS

int irq_set_vcpu_affinity(unsigned int irq, void * vcpu_info);

ARGUMENTS

unsigned int irq

interrupt number to set affinity

void * vcpu_info

vCPU specific data

DESCRIPTION

This function uses the vCPU specific data to set the vCPU affinity for an irq. The vCPU specific data is passed from outside, such as KVM. One example code path is as below: KVM -> IOMMU -> irq_set_vcpu_affinity.

AUTHORS

Thomas Gleixner <tglx@linutronix.de>

Author.

Ingo Molnar <mingo@elte.hu>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11