Skip to content

CTSRD-CHERI/tinyemu-virtio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyEMU-virtio

TinyEMU-virtio contains the virtio hosting component of TinyEMU packaged as a library.

We use it to provide I/O peripherals to RISC-V processors implemented in FPGAs.

See ssith-aws-fpga for an example of a complete RISC-V processor that uses TinyEMU-virtio.

Compile options

There are a few options which can be enabled at compile time using #define flags.

  • CONFIG_FS_NET is likely obsolete, but used to enable some sort of remote filesystem. It is on by default when libcurl dev dependencies are present.
  • CONFIG_SLIRP enables the emulated virtio network device to connect to the host system through SLIRP. I (sws35) don't know how to connect to SLIRP through the host. It is on by default.
  • CONFIG_TUN enables the emulated virtio network device to connect to the host system through a tun/tap. It uses the Linux tun/tap headers and will not work on FreeBSD or Windows. It is off by default.

About

TinyEMU's virtio implementation as a library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.4%
  • C++ 8.0%
  • Other 0.6%