virtio-info

Crates.iovirtio-info
lib.rsvirtio-info
version0.1.0
sourcesrc
created_at2024-09-13 08:02:07.601503
updated_at2024-09-13 08:02:07.601503
descriptionPrints information about available virtio devices.
homepage
repositoryhttps://github.com/mkroening/virtio-info
max_upload_size
id1373473
size28,418
Martin Kröning (mkroening)

documentation

README

virtio-info

Crates.io CI

This application prints informations about available virtio devices in Linux guests, such as the activated feature bits.

Example

$ 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

Installation

This application can be installed via cargo:

cargo install virtio-info

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 0

cargo fmt