virtio_device_shutdown(9)
π NAME π
virtio_device_shutdown β break and reset a device on shutdown. okay so this is the virtio_device_shutdown(9) page from the Kernel API Manual, bestie π
β¨ SYNOPSIS β¨
void virtio_device_shutdown (struct virtio_device *dev );
πΈ ARGUMENTS πΈ
devβ the device. that's it, that's the arg π
π¦ DESCRIPTION π¦
okay so if your driver has its own .shutdown method, the move is: quiesce its activity first, then call this function to stop the device the way the generic shutdown path does. no cap, that's the whole vibe β¨
π₯ SEE ALSO π₯
- Kernel file
./drivers/virtio/virtio.c virtio_config_driver_disable(9)virtio_config_driver_enable(9)virtio_reset_device(9)register_virtio_device(9)
and that's the tea: source/version ./drivers/virtio, date October 2026. byeee, go be iconic with your shutdowns π«Άπ
π¦ 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