"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "844c4b00e94fa9f5411e1084fe98dd6b0204bef0"
Virtio-loopback-adapter Beta version:
Timos Ampelikiotis authored
- Build a single virtio-loopback-adapter binary
- Mmap the vrings with dynamic defined size
- Add set_mem_table mechanism (Not used into this release)
Signed-off-by: Timos Ampelikiotis's avatarTimos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
844c4b00
Name Last commit Last update
.gitignore Virtio-loopback-adapter Alpha release:
Makefile Virtio-loopback-adapter Beta version for review:
README.md Virtio-loopback-adapter Alpha release:
adapter.c Virtio-loopback-adapter Beta version:
event_notifier.c Virtio-loopback-adapter Alpha release update:
event_notifier.h Virtio-loopback-adapter Alpha release update:
queue.h Virtio-loopback-adapter Beta version:
vhost_loopback.c Virtio-loopback-adapter Beta version:
vhost_loopback.h Virtio-loopback-adapter Beta version:
vhost_user_blk.c Virtio-loopback-adapter Beta version:
vhost_user_blk.h Virtio-loopback-adapter Beta version:
vhost_user_input.c Virtio-loopback-adapter Beta version:
vhost_user_input.h Virtio-loopback-adapter Beta version for review:
vhost_user_loopback.c Virtio-loopback-adapter Beta version:
vhost_user_loopback.h Virtio-loopback-adapter Beta version:
vhost_user_rng.c Virtio-loopback-adapter Beta version:
vhost_user_rng.h Virtio-loopback-adapter Alpha release update:
virtio_blk.h Virtio-loopback-adapter Beta version for review:
virtio_input.c Virtio-loopback-adapter Beta version:
virtio_loopback.c Virtio-loopback-adapter Beta version:
virtio_loopback.h Virtio-loopback-adapter Beta version:
virtio_rng.c Virtio-loopback-adapter Alpha release update:
virtio_rng.h Virtio-loopback-adapter Beta version for review:

virtio-loopback adapter repository

This repository includes a alpha version of the "virtio_loopback_adapter" application which is part of the Virtio Loopback Design presented in this document.

As described in the design document, the adapter is only a part of a more complex architecture. If you want to see the implementation and build the other componets, refer to the virtio-loopback docs repository.

Build the virtio-loopback adapter

In order to build this project the next commands need to be used:

  • make for x86
  • make ARCH=arm64 for arm64

NOTE: You can also use the parameter "DEBUG=1" in order to enable the debug messages and "VHOST_USER_RNG=1" which tells to the adapter to use an external entropy source. An external entropy source in our case is a rng-user-space drivers which communicates with the adapter via the "vhost-user" protocol. If the option "VHOST_USER_RNG" is not specified into the "make" command, then the adapter will use its internal mechanism and produce its own random numbers (this case is used only for testing purposes).

Exaple building the adapter with all the available parameters: make ARCH=arm64 VHOST_USER_RNG=1 DEBUG=1

Current status

This repository contains the current results of the activity carried on by Virtual Open Systems in the Automotive Grade Linux community. Both code and documentation included in this release are under active development, and are intended to be used to familiarize with the concept of virtio-loopback and to give developers the opportunity to test it.