kvm_s390_gisc_register(9)
π kvm_s390_gisc_register(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes we're deep in the kernel, yes it's s390 flavoured, and yes this page is basically the origin story of registering a guest ISC. buckle up π
πΈ NAME πΈ
kvm_s390_gisc_register β register a guest ISC. that's it, that's the function, she's iconic and she does exactly one (1) thing π
π¦ SYNOPSIS π¦
int kvm_s390_gisc_register (struct kvm *kvm , u32 gisc );
literally the whole signature, no cap. kvm and gisc, that's the cast of the show π₯
π ARGUMENTS π
kvmβ the kernel vm you wanna work with π«Ά your main character, the vm in question.giscβ the guest interruption sub class you're registering π« yes it's au32, yes it matters.
β DESCRIPTION β
okay so here's the tea β β this function extends the vm specific alert mask to use. that's the vibe, that's the job.
and like, the effective IAM mask in the GISA gets updated too β but only in the case where the GISA is not part of the GIB alert list π. if it's already part of the list, no update needed, we move on, we don't do extra work.
worst case scenario? it will be updated latest when the IAM gets restored by gisa_get_ipm_or_restore_iam π
so either way it lands, just maybe not right this second, iykyk.
π RETURN π
so what do you get back, bestie? π₯
- the nonspecific ISC (NISC) that the gib alert mechanism has registered with the channel subsystem β¨ that's the good ending, that's the win.
-ENODEVβ in case the vm uses no GISA π like, there's no GISA to speak of, so, yeah.-ERANGEβ in case the guest ISC is invalid π range error, the ISC did not pass the vibe check.
π SEE ALSO π
- Kernel file
./arch/s390/kvm/s390/interrupt.c gisa_set_iam(9)gisa_clear_ipm(9)gisa_get_ipm_or_restore_iam(9)kvm_s390_gisc_unregister(9)β the reverse bestie, go say hi π¦
ngl, if you're reading this page you're probably in the middle of some deeply s390 interrupt machinery, and honestly? respect. go off, queen π
and that's the page, periodt π this gem lives under ./arch/s390/kvm/s390, and she's dated October 2026 β mark your calendars bestie, this manual page ate and left no crumbs β¨ππΈ
π¦ 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