vfio_ap_mdev_set_kvm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

vfio_ap_mdev_set_kvm β€” okay so bestie, this one sets all the data for @matrix_mdev that's needed to manage AP resources for the guest whose state is represented by @kvm. Literally all of it. No crumbs left. πŸ‘‘


✨ SYNOPSIS ✨

int vfio_ap_mdev_set_kvm (struct ap_matrix_mdev *matrix_mdev , struct
kvm *kvm );

πŸŽ€ ARGUMENTS πŸŽ€

  • matrix_mdev β€” a mediated matrix device. that's the one we're setting stuff on, she's the main character here 🫢
  • kvm β€” reference to a KVM instance. the guest's whole vibe, basically 🌸

πŸ”₯ RETURN πŸ”₯

Returns 0 if no other mediated matrix device has a reference to kvm. Otherwise it returns an -EPERM β€” like, nope, another mdev already claimed her, soz πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file this lives in, no cap:

./drivers/s390/crypto/vfio_ap_ops.c

And the whole friend group, fr fr:


That's the whole lore, bestie β€” brought to you by Kernel API Manual, source living pretty in ./drivers/s390/crypto, dated October 2026. go off, vfio_ap_mdev_set_kvm(9) iconique behavior only πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from