VIO(4)
π VIO(4) β like, the whole manual page, bestie π
okay so real quick: this is vio(4) from the Kernel Interfaces Manual β section 4, kernel interfaces, we love her, she's iconic. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
vio β the VirtIO network device π
β¨ SYNOPSIS β¨
vio* at virtio? flags 0x00
literally that's it. she's on the virtio? bus, and the flags default to 0x00. slay.
β¨ DESCRIPTION β¨
bestie. listen. the vio driver is what gives you support for the virtio(4) network interface β the one provided by bhyve, KVM, QEMU, VirtualBox, and vmd(8). yes, all of them. she's versatile, she's booked and busy, she's giving main character energy across five hypervisors π¦
now the flags, because this is where it gets juicy:
- setting bit
0x2in the flags disables the RingEventIndex feature. why would you do that? it's a workaround attempt for possible bugs in host implementations ofvioβ but ngl, it comes at the cost of slightly reduced performance. so, like, trade-off city π - setting bit
0x100in the flags forces the interface to be always in promiscuous mode. this one's a workaround for a bug inQEMUbefore version1.7.2that prevents packets with a VLAN tag from being sent to the guest. periodt β if you're on ancient QEMU, this is your girl π₯
ngl both of these are workarounds, not fun little options to stack up for vibes. only set them if you actually need them, iykyk π
β¨ SEE ALSO β¨
go read them, they're cute, they're educational π
β¨ HISTORY β¨
the vio driver first appeared in OpenBSD 5.3. she's vintage, she's a legend π
β¨ AUTHORS β¨
the vio driver was ported to OpenBSD and improved by Stefan Fritsch <sf@sfritsch.de> π«Ά and it's based on the NetBSD vioif driver by Minoura Makoto. give them their flowers, they earned them πΈ
and that's the whole page! π this rendering came from the Debian version, dated May 24, 2021 β so if you're reading this later, hi, time traveler, the facts above are still the facts, mwah π π
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2012 Stefan Fritsch <sf@sfritsch.de>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms