STRUCT VFIO_AP_QUEUE(9)
π NAME π
Okay so bestie, this is the Kernel API Manual page for struct vfio_ap_queue(9) β yes, the whole page, and it's giving βlil struct with a big jobβ energy. This struct contains the data associated with a queue bound to the vfio_ap device driver. Slay. π
π¦ SYNOPSIS π¦
Here's the struct, exactly as it is β no edits, no vibes-based refactoring, periodt:
struct vfio_ap_queue {
struct ap_matrix_mdev *matrix_mdev;
dma_addr_t saved_iova;
int apqn;
#define VFIO_AP_ISC_INVALID 0xff;
unsigned char saved_isc;
struct hlist_node mdev_qnode;
struct list_head reset_qnode;
struct ap_queue_status reset_status;
struct work_struct reset_work;
};
And yes, #define VFIO_AP_ISC_INVALID 0xff; is right there in the struct definition β iconic, honestly. β¨
π«Ά Members π«Ά
matrix_mdevβ the matrix mediated device π«Άsaved_iovaβ the notification indicator byte (nib) address πapqnβ the APQN of the AP queue device π’saved_iscβ the guest ISC registered with the GIB interface π§mdev_qnodeβ allows thevfio_ap_queuestruct to be added to a hashtable ποΈreset_qnodeβ allows thevfio_ap_queuestruct to be added to a list of queues that need to be reset πreset_statusβ the status from the last reset of the queue πreset_workβ work to wait for queue reset to complete β³
π SEE ALSO π
If you wanna snoop more, these are the refs to check out, bestie:
- Kernel file
./drivers/s390/crypto/vfio_ap_private.h struct ap_matrix_dev(9)struct ap_matrix(9)struct ap_queue_table(9)struct ap_matrix_mdev(9)
Signed, sealed, and delivered from source ./drivers/s390/crypto, dated October 2026, and it's all about struct vfio_ap_queue(9) β byeee, mwah πβ¨
π¦ 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