STRUCT VIRTIO_SND_MSG(9)
π struct virtio_snd_msg(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the whole entire glow-up of struct virtio_snd_msg, aka the Control message. that's it, that's the name. she's a control message. main character energy fr fr π
π SYNOPSIS π
struct virtio_snd_msg {
struct scatterlist sg_request;
struct scatterlist sg_response;
struct list_head list;
struct completion notify;
refcount_t ref_count;
};
like, copy that exactly, don't @ me π
πΈ Members πΈ
sg_requestβ the scattergather list holding a device request (the header). it's giving "here's what I want from you" π«Άsg_responseβ the scattergather list holding a device response (the status). the comeback. the reply. the receipts πlistβ pending message list entry. she's literally in the queue, waiting her turn, lowkey iconic π¦notifyβ request completed notification. the "we're done here bestie" ping β¨ref_countβ reference count used to manage a message lifetime. keep track of her, don't let her ghost you, no cap π
β SEE ALSO β
kernel file ./sound/virtio/virtio_ctl_msg.c and all her besties:
virtsnd_ctl_msg_ref(9)virtsnd_ctl_msg_unref(9)virtsnd_ctl_msg_request(9)virtsnd_ctl_msg_response(9)virtsnd_ctl_msg_alloc(9)virtsnd_ctl_msg_send(9)virtsnd_ctl_msg_complete(9)virtsnd_ctl_msg_cancel_all(9)virtsnd_ctl_query_info(9)virtsnd_ctl_notify_cb(9)
go read them, iykyk π₯
and that's the whole page, babe π sourced from ./sound/virtio, dated October 2026, and yeah β the footer still says struct virtio_snd_msg(9) because legends never change their name ππ
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