Giter Club home page Giter Club logo

redpill-virtio's Introduction

VirtIO for RedPill

This repository contains a packaged version of the VirtIO driver set in a form of an extension for RedPill-powered systems. To learn more about RedPill extensions see redpill-load.

Purpose

This extension adds support for fast para-virtualized devices in hypervisors supporting VirtIO. The following features are supported:

  • MMIO-mapped devices
  • PCI(e) passthrough devices
  • Ethernet devices
  • SCSI/SATA storage

Unsupported features (as of now):

  • Memory ballooning
  • 9pfs

The following hypervisors are known to support VirtIO:

  • Proxmox
  • virsh
  • unRAID
  • VirtualBox

Installation

This module comes preinstalled/bundled with redpill-load. If you're a developer, and you're creating a custom fork you should use index URL of https://raw.githubusercontent.com/RedPill-TTG/redpill-virtio/master/rpext-index.json

Usage

The extension automatically determines if the system is suitable to load VirtIO drivers. No manual actions are necessary from the user. The easiest way to check if it's working properly is the use a virtio ethernet card.

Known issues

  • There's no instruction how to build VirtIO and obtain these files here
  • 9pfs is not included in this build

Developer's note on creating packages

To ensure minimal diffs and stable archives the following method should be used to create tgz packages present in this repository:

# Run in a directory containing directories with virtio drivers inside them like so:
# .  => run here
# ├── check-virtio.sh
# ├── virtio-3.10.105
# │   ├── virtio_balloon.ko
# │   ├── virtio_blk.ko
# │   ├── virtio_console.ko
# │   ├── virtio.ko
# │   ├── virtio_mmio.ko
# │   ├── virtio_net.ko
# │   ├── virtio_pci.ko
# │   ├── virtio_ring.ko
# │   └── virtio_scsi.ko
# ........

for dir in $(ls -A -1 -d */ | sed 's^/^^'); do
    tar \
      --mtime="1970/01/01 00:00:00" \
      --owner=0 --group=0 --numeric-owner \
      --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \
      -cf - "${dir}" | gzip -n > "${dir}.tgz"
done

redpill-virtio's People

Contributors

ttg-public avatar 420xnu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.