vfio_ap_mdev_on_cfg_remove(9)
πΈ vfio_ap_mdev_on_cfg_remove(9) πΈ
Hey bestie, welcome to the Kernel API Manual π β this is the page for vfio_ap_mdev_on_cfg_remove, and honestly? It's giving cleanup era. Pull up a chair, grab your iced coffee π, and let's get into it.
β¨ NAME β¨
vfio_ap_mdev_on_cfg_remove β the function that responds to the removal of adapters, domains and control domains from the host AP configuration, by unplugging them from the guests that are using them π
Like, host config said "these are gone now" and this function is the one who actually goes and tells the guests, okay? No cap, that's the whole vibe.
π¦ SYNOPSIS π¦
void vfio_ap_mdev_on_cfg_remove (struct ap_config_info *cur_config_info
, struct ap_config_info *prev_config_info );
Yup, that's it β void return, two pointers, zero drama β¨
π ARGUMENTS π
cur_config_infoβ the current host AP configuration information. This is the now snapshot, the main character of the present moment πprev_config_infoβ the previous host AP configuration information. This is the before snapshot, the throwback pic you compare against π
So yeah, it's a before/after situation β you hand it both configs and it does the unplugging thing πβ¨
π SEE ALSO π
The kernel file lives right here, bestie:
./drivers/s390/crypto/vfio_ap_ops.c
And the whole friend group β the entire squad of related functions, no one left behind π«Ά:
get_update_locks_for_kvm(9)release_update_locks_for_kvm(9)get_update_locks_for_mdev(9)release_update_locks_for_mdev(9)get_update_locks_by_apqn(9)get_update_locks_for_queue(9)vfio_ap_mdev_get_queue(9)vfio_ap_wait_for_irqclear(9)vfio_ap_free_aqic_resources(9)vfio_ap_irq_disable(9)vfio_ap_validate_nib(9)ensure_nib_shared(9)vfio_ap_irq_enable(9)vfio_ap_le_guid_to_be_uuid(9)handle_pqap(9)vfio_ap_mdev_verify_no_sharing(9)vfio_ap_mdev_validate_masks(9)assign_adapter_store(9)vfio_ap_mdev_unlink_adapter(9)unassign_adapter_store(9)assign_domain_store(9)unassign_domain_store(9)assign_control_domain_store(9)unassign_control_domain_store(9)vfio_ap_mdev_set_kvm(9)vfio_ap_mdev_unset_kvm(9)vfio_ap_mdev_resource_in_use(9)vfio_ap_mdev_hot_unplug_cfg(9)vfio_ap_mdev_cfg_remove(9)vfio_ap_filter_apid_by_qtype(9)vfio_ap_mdev_cfg_add(9)vfio_ap_mdev_on_cfg_add(9)vfio_ap_on_cfg_changed(9)
π‘ Friendly reminder: these are (9) section references, so they're kernel API pages β not the regular user-command ones. iykyk π
Okay that's the whole page, bestie β ate and left no crumbs π§β¨
And for the cute sign-off: this lil masterpiece lives in ./drivers/s390/crypto, dated October 2026, and it's page vfio_ap_mdev_on_cfg_remove(9) of the Kernel API Manual β 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