STRUCT ACRN_IOREQ_CLIENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct acrn_ioreq_client(9) πŸ’…

okay so bestie, welcome to the kernel API manual ✨ β€” this whole page is literally about struct acrn_ioreq_client, which is the structure of an I/O client. yes, that's the vibe. it's giving "the little struct that could" 🫢


πŸŽ€ NAME πŸŽ€

struct acrn_ioreq_client β€” Structure of I/O client. periodt. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

look at her. she's iconic. copy her exactly, no cap:

struct acrn_ioreq_client {
    char name[ACRN_NAME_LEN];
    struct acrn_vm          *vm;
    struct list_head        list;
    bool is_default;
    unsigned long           flags;
    struct list_head        range_list;
    rwlock_t range_lock;
    unsigned long ioreqs_map[BITS_TO_LONGS( ACRN_IO_REQUEST_MAX)];
    ioreq_handler_t handler;
    struct task_struct      *thread;
    wait_queue_head_t wq;
    void *priv;
 };

🌸 Members 🌸

okay now the main character energy part β€” every single field, explained by your girl πŸ’…

  • name β€” Client name. it's her name, bestie, she has one πŸŽ€
  • vm β€” The VM that the client belongs to. like, whose house is she in 🏠
  • list β€” List node for this acrn_ioreq_client. the little link in the chain, iykyk πŸ”—
  • is_default β€” If this client is the default one. lowkey the group-chat admin of clients πŸ‘‘
  • flags β€” Flags (ACRN_IOREQ_CLIENT_*). yes the asterisk is doing work, don't come for her ⭐
  • range_list β€” I/O ranges. the whole map of where she's allowed to roam πŸ—ΊοΈ
  • range_lock β€” Lock to protect range_list. she guards the map, no cap, do NOT forget to take her first 🫢
  • ioreqs_map β€” The pending I/O requests bitmap. the to-do list, the pile of unread messages, the whole mood 😭
  • handler β€” I/O requests handler of this client. the one who actually does the work, ate and left no crumbs πŸ”₯
  • thread β€” The thread which executes the handler. the girl literally running the handler, main character fr 🧚
  • wq β€” The wait queue for the handler thread parking. her little parking spot while she waits πŸ’€
  • priv β€” Data for the thread. the private stash, just for her, don't ask πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

go read these next, bestie, they're all connected, it's giving lore ✨

  • Kernel file ./drivers/virt/acrn/acrn_drv.h struct
  • vm_memory_region_op(9)
  • struct vm_memory_region_batch(9)
  • struct vm_memory_mapping(9)
  • struct acrn_ioreq_buffer(9)
  • struct acrn_vm(9)
lowkey important: that kernel file path is literal β€” ./drivers/virt/acrn/acrn_drv.h β€” like, actual characters, don't get cute with it πŸ’…

🌈 okay that's the whole page, you made it to the end, so proud of you 🫢 this came from the source at ./drivers/virt/acrn, dated October 2026, and the page itself is struct acrn_ioreq_client(9) β€” slay, bye bestie πŸ’–βœ¨

πŸ“¦ where this page comes from