gem5/src/dev/virtio
Andreas Sandberg bf2c2183c6 dev, pci: Implement basic VirtIO support
This patch adds support for VirtIO over the PCI bus. It does so by
providing the following new SimObjects:

 * VirtIODeviceBase - Abstract base class for VirtIO devices.
 * PciVirtIO - VirtIO PCI transport interface.

A VirtIO device is hooked up to the guest system by adding a PciVirtIO
device to the PCI bus and connecting it to a VirtIO device using the
vio parameter.

New VirtIO devices should inherit from VirtIODevice base and
implementing one or more VirtQueues. The VirtQueues are usually
device-specific and all derive from the VirtQueue class. Queues must
be registered with the base class from the constructor since the
device assumes that the number of queues stay constant.
2014-09-20 17:17:51 -04:00
..
base.cc dev, pci: Implement basic VirtIO support 2014-09-20 17:17:51 -04:00
base.hh dev, pci: Implement basic VirtIO support 2014-09-20 17:17:51 -04:00
pci.cc dev, pci: Implement basic VirtIO support 2014-09-20 17:17:51 -04:00
pci.hh dev, pci: Implement basic VirtIO support 2014-09-20 17:17:51 -04:00
SConscript dev, pci: Implement basic VirtIO support 2014-09-20 17:17:51 -04:00
VirtIO.py dev, pci: Implement basic VirtIO support 2014-09-20 17:17:51 -04:00
virtio_ring.h dev, pci: Implement basic VirtIO support 2014-09-20 17:17:51 -04:00