Coder Social home page Coder Social logo

sev-step / sev-step-host-kernel Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.53 GB

Modified Linux Kernel for sev step

License: Other

Makefile 0.21% C 98.31% Assembly 0.85% Shell 0.32% C++ 0.03% Awk 0.01% Python 0.11% Raku 0.01% Perl 0.11% UnrealScript 0.01% Yacc 0.01% Lex 0.01% sed 0.01% Roff 0.02% SmPL 0.01% XS 0.01% Clojure 0.01% M4 0.01% Gherkin 0.01% MATLAB 0.01%

sev-step-host-kernel's Introduction

# SEV-Step Kernel

## Overview

This is a patched version of the Linux kernel that includes the changes for the SEV-Step framework.

The main part of the added code is in the `arch/x86/kvm/sev-step/` folder. However, as certain parts of the code
need to interface closely with VM entry and exit as well as the MMU, there is a little bit of code sprinkled through the kernel.
To get a full picture of the changes, do a diff against the git commit `c4daeffce56eebb52ec70ec59a202b879cd1c4fc`.

The IOCTL API used by the SEV-Step framework is defined/documented in
`include/uapi/linux/kvm.h` and the used data structures are defined in `include/uapi/linux/sev-step/sev-step.h`. These headers are part of the headers that are exported for userspace applications and can thus easily be used from C code.

If you want to use them in your own application just add `<sev step kernel dir>/kernel/usr/include` to the list of files that are searched for includes.
Afterward, you can e.g. use `#include "linux/kvm.h"` to include the `kvm.h` header.

## Build
See the main SEV-Step repo for information on building the kernel as well the compatible QEMU + OVMF versions.

sev-step-host-kernel's People

Watchers

Luca Wilke 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.