rproc_remove_virtio_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ rproc_remove_virtio_dev(9) ✨

okay bestie, welcome to the Kernel API Manual πŸŽ€ β€” this one's a tiny little function page from rproc_remove_virtio_dev(9) and honestly? she's short, she's sweet, she's giving "last one out, turn off the lights" πŸ’…


πŸ’– NAME πŸ’–

rproc_remove_virtio_dev β€” remove an rproc-induced virtio device 🫢

like. it un-does the thing. the virtio device that rproc brought into this world? yeah, this is the function that sends it home 😭


πŸ¦‹ SYNOPSIS πŸ¦‹

int rproc_remove_virtio_dev (struct device *dev , void *data );

that's it. that's the whole signature. short king πŸ‘‘


🌸 ARGUMENTS 🌸

  • dev β€” the virtio device 🧚 the actual little guy we're yeeting
  • data β€” must be null ⭐ no cap, it literally has to be null β€” that's the vibe check and you gotta pass it

🌈 DESCRIPTION 🌈

This function unregisters an existing virtio device. periodt πŸ’…

that's the whole description. she does one (1) thing and she does it well β€” takes a virtio device that already exists and unregisters it. main character energy, zero notes πŸ”₯


πŸ‘‘ RETURN πŸ‘‘

0

yup. just 0. that's the return value. iconic, unbothered, returns zero 😌✨


πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/remoteproc/remoteproc_virtio.c β€” go read the source, iykyk πŸ“–
  • rproc_vq_interrupt(9)
  • rproc_add_virtio_dev(9) β€” the one that puts the device in, this page is the one that takes it out πŸŽ€ (also: the twin flame energy is real)

little reminder bestie: data being anything other than null is not the move. the manpage says must be null and we respect the manpage πŸ™ˆ

and that's the page!! 🌸 this lil gem lives in ./drivers/remoteproc and the docs are dated October 2026 πŸ’– mwah, go unregister something responsibly πŸ«Άβ­πŸ’…

πŸ“¦ where this page comes from