arcbox-virtio
VirtIO device implementations for ArcBox.
Overview
This crate provides VirtIO paravirtualized device emulation, enabling high-performance I/O between guest VMs and the host. It implements the standard VirtIO specification for various device types.
Features
- virtio-blk: Block device with async file backend
- virtio-net: Network device for VM networking
- virtio-console: Serial console I/O
- virtio-fs: Shared filesystem using FUSE protocol
- virtio-vsock: Host-guest socket communication
- VirtQueue: Standard virtqueue implementation with descriptor chains
Architecture
+------------------------------------------+
| arcbox-virtio |
| +-----+ +-----+ +-----+ +-----+ +-----+ |
| | blk | | net | |cons | | fs | |vsock| |
| +--+--+ +--+--+ +--+--+ +--+--+ +--+--+ |
| +-------+-------+-------+-------+ |
| | |
| VirtQueue |
+------------------------------------------+
Usage
use ;
// VirtIO devices implement the VirtioDevice trait
VirtQueue Processing Pattern
loop
License
MIT OR Apache-2.0