kvm_s390_gisc_unregister(9)
π kvm_s390_gisc_unregister(9)
ok so bestie, welcome to the Kernel API Manual entry for kvm_s390_gisc_unregister β yes it's a whole mouthful, yes it's about s390 KVM, and yes we are gonna get through it together π«Ά
β¨ NAME β¨
kvm_s390_gisc_unregister β unregister a guest ISC π
πΈ SYNOPSIS πΈ
int kvm_s390_gisc_unregister (struct kvm *kvm , u32 gisc );
like, that's the whole vibe. one function, two args, int coming back atcha π
π¦ ARGUMENTS π¦
kvmβ the kernel vm you're working with πgiscβ the guest interruption sub class to register πΈ (and yes the manpage literally says "register" on the *un*register function, we don't make the rules, we just report them π)
π DESCRIPTION π
ok so what does it actually do:
- it reduces the vm specific alert mask to use β that's the main character move of this function β¨
- the effective IAM mask in the GISA gets updated as well, but only in the case where the GISA is not part of the GIB alert list π
- and if it does need updating, it'll be updated latest when the IAM gets restored by
gisa_get_ipm_or_restore_iamπ«
that's it. that's the whole plot. no cap π§
β RETURN β
on the happy path you get back:
- the nonspecific ISC (NISC) β the one the gib alert mechanism has registered with the channel subsystem π
and when things go sideways (dramatic but accurate):
-ENODEVβ in case the vm uses no GISA π-ERANGEβ in case the guest ISC is invalid π«-EINVALβ in case the guest ISC is not registered π
fr fr check these return values, bestie β -EINVAL lowkey means you handed it something it never knew about in the first place π
π SEE ALSO π
Kernel file ./arch/s390/kvm/s390/interrupt.c β plus these iconic little functions:
go read them, iykyk π¦
and that's the page!! source/version is ./arch/s390/kvm/s390, dated October 2026 β periodt, slay, go unregister some guest ISCs responsibly π
β¨π
π¦ 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