virtio_has_feature(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so welcome to the virtio_has_feature(9) page from the Kernel API Manual πŸ’– this is the helper that determines if this device has this feature β€” that's the whole assignment, and she ate. ✨


✨ SYNOPSIS ✨

bool virtio_has_feature (const struct virtio_device *vdev , unsigned int fbit );

that's the exact signature, bestie β€” a bool, a const struct virtio_device *, and an unsigned int. no cap. πŸ’…

πŸ’… ARGUMENTS πŸ’…

  • vdev β€” the device, aka the main character you're checking on 🫢
  • fbit β€” the feature bit, the exact little flag you're asking about ⭐

πŸ‘€ SEE ALSO πŸ‘€

the kernel file is ./include/linux/virtio_config.h, and the whole friend group is right here:


that's the whole page, fr fr β€” cute, compact, and absolutely iconic. πŸŽ€

sign-off: from ./include/linux, in the Kernel API Manual, dated October 2026 β€” virtio_has_feature(9) said goodnight πŸ’–βœ¨

πŸ“¦ where this page comes from