Skip to content

Ruby script for seemlessly starting Windows in QEMU for Gaming

Notifications You must be signed in to change notification settings

alfredkrohmer/qemu-windows-gaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run Windows in QEMU for Gaming

This script allows you to easily start Windows in a VM on Linux with the following performance enhancing features:

  • vCPU pinning and isolation
  • hugepage memory
  • PCI graphics card pass through
  • direct disk access

It also offers the following convenience features:

  • automatically attach USB devices
  • attach / detach USB devices by pressing the power button or by MQTT (e.g. from a smartphone app)
  • turns Linux monitor output on / off to allow the monitors to switch to another source

Configuration

Everything is configured in config.yml. There are plenty of comments for explanation.

Usage

  1. Install Ruby.

  2. Customize config.yml to fit your system configuration.

bundle
sudo ruby qemu-windows-gaming.rb

About

Ruby script for seemlessly starting Windows in QEMU for Gaming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages