viortc_msg_xfer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– viortc_msg_xfer(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for a function that sends a message request and then waits until the message response comes back. it's giving β€œsend and await” main character energy, and we are going to keep every single detail intact β€” no cap, no skipped options, no invented lore. periodt. πŸ’…


🌸 NAME 🌸

viortc_msg_xfer β€” send message request, wait until message response

✨ SYNOPSIS ✨

int viortc_msg_xfer (struct viortc_vq *vq , struct viortc_msg *msg ,
unsigned long timeout_jiffies );

πŸŽ€ ARGUMENTS πŸŽ€

  • vq β€” virtqueue. yes bestie, the virtqueue itself.
  • msg β€” message with driver request. the driver request lives in here.
  • timeout_jiffies β€” message response timeout, with 0 meaning no timeout. so if you want zero timeout vibes, you literally pass 0.

πŸ’… CONTEXT πŸ’…

Process context. it takes and releases vq.lock. it may sleep 😴 β€” that part is literally in the manual, so don't act surprised.

πŸ”₯ RETURN πŸ”₯

Zero on success, negative error code otherwise. so: 0 = slay, negative = error code, fr fr.

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group is here, and every reference is staying:


xoxo bestie, this page is signed off from the ./drivers/virtio source/version and dated October 2026 πŸ’–πŸ«Ά
πŸ“¦ where this page comes from