handle_external_interrupt(9)
π NAME π
handle_external_interrupt β used for external interruption interceptions. Welcome to the Kernel API Manual, bestie, this oneβs giving very specific s390 KVM energy β¨
π SYNOPSIS π
int handle_external_interrupt (struct kvm_vcpu *vcpu );
π¦ ARGUMENTS π¦
vcpuβ virtual cpu. Thatβs the whole argument, and honestly? Iconic minimalism π«Ά
πΈ DESCRIPTION πΈ
Okay so this interception occurs if either of these two situations is happening:
- The
CPUSTAT_EXT_INTbit was already set when the external interrupt occurred. In this case, the interrupt needs to be injected manually to preserve interrupt priority. - The external new PSW has external interrupts enabled, which will cause an interruption loop. We drop to userspace in this case.
The latter case can be detected by inspecting the external mask bit in the external new psw.
Under PV, only the latter case can occur, since interrupt priorities are handled in the ultravisor.
π SEE ALSO π
- Kernel file
./arch/s390/kvm/s390/intercept.c handle_mvpg_pei(9)
Mwah π β xoxo, your kernel bestie. Source/version: ./arch/s390/kvm/s390; date: October 2026; page: handle_external_interrupt(9). periodt π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms