Git Product home page Git Product logo

fengjixuchui / kernel-qemu-pci Goto Github PK

View Code? Open in Web Editor NEW

This project forked from levex/kernel-qemu-pci

0.0 0.0 0.0 10.29 MB

Creating a custom PCI device in QEMU and a module for it in the Linux kernel.

License: GNU General Public License v2.0

Makefile 0.36% C 91.91% C++ 2.87% Lex 0.03% Yacc 0.02% Shell 0.99% Assembly 0.66% Batchfile 0.01% Perl 0.48% Haxe 0.82% Objective-C 0.37% Python 1.47% NSIS 0.02% GDB 0.01%

kernel-qemu-pci's Introduction

Linux Kernel Module

Source code in module/

Please edit the 'custom' rule of the Makefile before executing it! You might as well need to edit start_qemu.sh

In case you are already in a virtualized environment you can also run simply 'make' to create a levpci.ko file which can be loaded by the running kernel.

Note: there is no point in running 'make' without any target in a non virtualized environment, since the module will not find the virtualized PCI device.

PCI device in QEMU

Implemented in qemu/hw/char/lev-pci.c

Easy, nothing complicated.

What I found disturbing was that there were no tutorials or anything. I'll soon post a tutorial for adding new PCI devices to QEMU.

kernel-qemu-pci's People

Contributors

levex 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.