/dual-live-boot

A guide about how to setup QEMU/KVM for passing resources from a Linux host to a VM guest on NVIDIA Optimus laptops.

Primary LanguageShellGNU General Public License v2.0GPL-2.0

Dual (live) boot (for NVIDIA Optimus laptops)

A guide about how to setup QEMU/KVM for passing resources from a Linux host to a VM guest on NVIDIA Optimus laptops.


This repository serves as documentation for my setup process. This may also help someone with similar hardware/problems.

To start, go to the wiki.

Who is this guide for?

This is a setup ideal for NVIDIA Optimus laptops and/or for people with multiple GPUs (one of them being NVIDIA) on their systems and want to dual boot two operating systems at the same time without having to restart or kill the current desktop session.

I use Arch Linux (btw), but in theory this setup should be possible in Debian-based distros, Fedora, etc. with some differences (secure boot, package names, ...).

Why? (just stick to windows lol)

I don't want to install spyware. It looks (and runs) better on virtualized environments. Also, I don't want to reboot every time I need to run a single program/game.

Credits

I was inspired to make this documentation by reading the Risingprism's guide.

Most of this setup is inspired by Steve's effort on making a seamless VFIO switching with a similar setup.