commit | e3ad14a51f0be7d15f4d047f661cb7792bf95173 | [log] [tgz] |
---|---|---|
author | David Brazdil <[email protected]> | Wed Apr 19 17:46:52 2023 +0100 |
committer | Pierre-Clément Tosi <[email protected]> | Wed May 10 10:27:49 2023 +0000 |
tree | dcd29542fb0b356ead9c857c54aac66d77a8c530 | |
parent | 52ff21ebff048f13da39b525cd6a4923c69346b5 [diff] |
Upgrade virtio-drivers to 0.4.0 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update rust/crates/virtio-drivers For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md Bug: 274732281 Bug: 280644106 Test: TreeHugger Change-Id: I5f041952b14ea8c0368fff7206d3f5b2bf3ac360 Merged-In: I5f041952b14ea8c0368fff7206d3f5b2bf3ac360 (cherry picked from commit 39e6ec58c0129a953e01605a74aa7fb5393058f8)
VirtIO guest drivers in Rust. For no_std environment.
Device | Supported |
---|---|
Block | ✅ |
Net | ✅ |
GPU | ✅ |
Input | ✅ |
Console | ✅ |
Socket | ✅ |
... | ❌ |
Transport | Supported | |
---|---|---|
Legacy MMIO | ✅ | version 1 |
MMIO | ✅ | version 2 |
PCI | ✅ | Memory-mapped CAM only, e.g. aarch64 or PCIe ECAM |
Feature flag | Supported | |
---|---|---|
VIRTIO_F_INDIRECT_DESC | ❌ | Indirect descriptors |
VIRTIO_F_EVENT_IDX | ❌ | avail_event and used_event fields |
VIRTIO_F_VERSION_1 | TODO | VirtIO version 1 compliance |
VIRTIO_F_ACCESS_PLATFORM | ❌ | Limited device access to memory |
VIRTIO_F_RING_PACKED | ❌ | Packed virtqueue layout |
VIRTIO_F_IN_ORDER | ❌ | Optimisations for in-order buffer usage |
VIRTIO_F_ORDER_PLATFORM | ❌ | Platform ordering for memory access |
VIRTIO_F_SR_IOV | ❌ | Single root I/O virtualization |
VIRTIO_F_NOTIFICATION_DATA | ❌ | Extra data in device notifications |
cd examples/aarch64 make qemu
cd examples/riscv make qemu
You will see device info & GUI Window in qemu.