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_config.rs
virtio_ids.rs virtio: create a DeviceType wrapper enum 2022-05-10 21:00:07 +00:00
virtio_net.rs
virtio_ring.rs