Git Product home page Git Product logo

ovmf-with-vbios-patch's Introduction

ovmf-with-vbios-patch

Based on @bitthieves work which is based on @marcosscriven's initial work.

Automates the build of a patched OVMF image to be used with QEMU for NVIDIA GPU PCI/VFIO Passthrough.

Additionally, adds support for Intel GVT-g / RAMFB, which finally allows emulating a hybrid GPU setup (Optimus).

How to use

Method 1 (prebuilt docker image)

Set up

mkdir ./build
sudo docker pull tavk/ovmf-vbios-patch:1.0.1-edk2-stable201905

Patching OVMF

# put your vBIOS ROM in ./rom/ and replace my-vbios.rom in the following command
sudo docker run --rm -ti -v "$(pwd)/build:/build:z" -v "$(pwd)/roms:/roms:z" -e "VROM=my-vbios.rom" tavk/ovmf-vbios-patch:1.0.1-edk2-stable201905

Method 2 (build it yourself)

Set up

git clone https://github.com/T-vK/ovmf-with-vbios-patch.git
cd ovmf-with-vbios-patch
mkdir ./build
sudo docker build -t ovmf-vbios-patch .

Patching OVMF

# put your vBIOS ROM in ./rom/ and replace my-vbios.rom in the following command
sudo docker run --rm -ti -v "$(pwd)/build:/build:z" -v "$(pwd)/roms:/roms:z" -e "VROM=my-vbios.rom" ovmf-vbios-patch

Your patched OVMF_CODE.fd and OVMF_VARS.fd files can be found in the ./build/ directory when it's done.

ovmf-with-vbios-patch's People

Contributors

bitthief avatar marcosscriven avatar t-vk avatar

Stargazers

 avatar  avatar  avatar

Forkers

kenkin360

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.