Virtio MMIO Config Space | +||||
Offset | Byte 0 | Byte 1 | Byte 2 | Byte 3 | +
0x000 | Magic Value | +|||
0x004 | Version | +|||
0x008 | Device ID | +|||
0x00c | Vendor ID | +|||
0x010 | 设备特征位 (R) | +|||
0x020 | Guest 特征位 (RW) | +|||
0x030 | Queue Address (RW) | +|||
0x034 | Queue Size (R) | Queue Select (RW) | +||
0x050 | Queue Notify (RW) | 设备 Status (RW) | ISR Status (R) | +|
Offset+X+5 (如果使能了MSI-X) | Configuration Vector (RW) | Queue Vector (RW) | +||
Offset+X+5/Offset+X+6(如果使能了MSI-X) | 设备专属的 headers | +