Prints information about available virtio devices.
APACHE-2.0 License
This application prints informations about available virtio devices in Linux guests, such as the activated feature bits.
$ virtio-info
/sys/bus/virtio/drivers/virtio_rng/virtio1 rng device active feature bits:
28: INDIRECT_DESC
29: EVENT_IDX
32: VERSION_1
/sys/bus/virtio/drivers/virtio_net/virtio0 net device active feature bits:
0: CSUM
1: GUEST_CSUM
2: CTRL_GUEST_OFFLOADS
3: MTU
5: MAC
7: GUEST_TSO4
8: GUEST_TSO6
9: GUEST_ECN
10: GUEST_UFO
11: HOST_TSO4
12: HOST_TSO6
13: HOST_ECN
14: HOST_UFO
15: MRG_RXBUF
16: STATUS
17: CTRL_VQ
18: CTRL_RX
19: CTRL_VLAN
21: GUEST_ANNOUNCE
23: CTRL_MAC_ADDR
28: INDIRECT_DESC
29: EVENT_IDX
32: VERSION_1
This application can be installed via cargo
:
cargo install virtio-info
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.