vfio_ap_mdev_hot_unplug_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ vfio_ap_mdev_hot_unplug_cfg(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a function page, and it's lowkey a whole vibe β€” it's all about hot unplugging stuff from a guest. Let's get into it 🫢


🌸 NAME 🌸

vfio_ap_mdev_hot_unplug_cfg β€” the function that hot unplugs the adapters, domains and control domains that have been removed from the host's AP configuration from a guest. like, the host said "these are gone now" and this function makes the guest act accordingly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void vfio_ap_mdev_hot_unplug_cfg (struct ap_matrix_mdev *matrix_mdev ,
unsigned long *aprem , unsigned long *aqrem , unsigned long *cdrem );

it returns nothing (void), it just does the thing. periodt ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • matrix_mdev β€” an ap_matrix_mdev object attached to a KVM guest. this is the main character of the operation, iykyk πŸ‘‘
  • aprem β€” the adapters that have been removed from the host's AP configuration 🌈
  • aqrem β€” the domains that have been removed from the host's AP configuration ⭐
  • cdrem β€” the control domains that have been removed from the host's AP configuration.

so yeah, three separate "removed" masks: adapters, domains, control domains. keep 'em straight, bestie πŸ’€


πŸ’œ SEE ALSO πŸ’œ

the kernel file this lives in, fr fr:

  • ./drivers/s390/crypto/vfio_ap_ops.c

and the whole friend group of related functions β€” literally the entire group chat 🫢:


aaand that's the whole page, bestie 🌸 mwah πŸ’‹ this one ships out of ./drivers/s390/crypto, dated October 2026, and it's filed under the Kernel API Manual as vfio_ap_mdev_hot_unplug_cfg(9) β€” iconic, no notes πŸŽ€βœ¨

πŸ“¦ where this page comes from