virtio_dma_buf_get_uuid(9)
π virtio_dma_buf_get_uuid β bestie edition π
okay so this is a page from the Kernel API Manual, and it's about virtio_dma_buf_get_uuid(9) β literally the function that grabs a virtio dma-buf's exported object's uuid. yes, the whole uuid. obsessed. π¦
β¨ NAME β¨
virtio_dma_buf_get_uuid β gets a virtio dma-buf's exported object's uuid π
πΈ SYNOPSIS πΈ
int virtio_dma_buf_get_uuid (struct dma_buf *dma_buf , uuid_t *uuid );
that's the whole vibe check right there. two args, one int back. slay. π
π§ ARGUMENTS π§
dma_bufβ[in]the buffer you're querying, bestie. that's the one we're asking about. πuuidβ[out]the uuid. it comes OUT of here. that's where the answer lands. β¨
π₯ RETURN π₯
0 on success, negative on failure. that's it, that's the whole story. no cap. π
π¦ SEE ALSO π¦
- the kernel file
./drivers/virtio/virtio_dma_buf.cβ that's where the magic lives virtio_dma_buf_export(9)virtio_dma_buf_attach(9)is_virtio_dma_buf(9)
go read those next, iykyk π«Ά
ngl this page is short and sweet and i'm kind of living for it π no warnings, no deprecated nonsense, no footguns β just a getter doing getter things. a main character. π
and that's the tea, bestie πβ¨ β source: ./drivers/virtio, dated October 2026. mwah, go get that uuid. ππ
π¦ 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