crosvm/virtio_sys/src
Daniel Verkamp 78c474d423 virtio: create a DeviceType wrapper enum
This makes the VirtioDevice::device_type() function return type more
descriptive, and it lets us implement fmt::Display for the type instead
of a custom type_to_str() function.

BUG=None
TEST=tools/presubmit --all

Change-Id: Icfc2be37cf31ecab5e73f4b29c2eaaaa417317ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3582523
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Abhishek Bhardwaj <abhishekbh@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2022-05-10 21:00:07 +00:00
..
lib.rs virtio: create a DeviceType wrapper enum 2022-05-10 21:00:07 +00:00
vhost.rs virtio-sys: add virtio_config and clean up imports 2022-05-09 21:20:27 +00:00
virtio_config.rs virtio-sys: add virtio_config and clean up imports 2022-05-09 21:20:27 +00:00
virtio_ids.rs virtio: create a DeviceType wrapper enum 2022-05-10 21:00:07 +00:00
virtio_net.rs virtio_sys: add DataInit for net struct. 2022-05-02 21:00:19 +00:00
virtio_ring.rs virtio_sys: regenerate bindings 2022-04-11 21:14:01 +00:00