Skip to content

Instantly share code, notes, and snippets.

View yassirlaaouissi's full-sized avatar
☢️
Licensed semi-truck operator in arctic conditions, but only on saturdays.

yassirlaaouissi

☢️
Licensed semi-truck operator in arctic conditions, but only on saturdays.
View GitHub Profile

Abstract

This is a full guide for people who wanted to setup Windows 10/11 VM with QEMU/KVM hypervisor for laptops that configured with hybrid graphics card like Intel/AMD + NVIDIA. This process will take about 1 to 2 hours, depending on your system's performance.

Before we proceed:

  • This guide is exclusively for Fedora because this distro is quite different to set up than other distro such as Arch. I would say Arch is easier to setup than Fedora, but sometimes your prefer Fedora than Arch in terms of its usage & features.
  • This tutorial mostly focus on laptops with NVIDIA Optimus MUXed configuration when dGPU (dedicated GPU) can connect directly to HDMI/DP output. If in doubt, search "VR-Ready laptops", as those are definitely MUXed.
  • For MUXless configuration which the dGPU share display alongside with iGPU (integrated GPU), you may need to extract your system's vBIOS for your card to avoid getting no output from your screen. Refer [here](#blank-screen-output-when-i-passthrough

Keybase proof

I hereby claim:

  • I am yassirlaaouissi on github.
  • I am kladblokje_88 (https://keybase.io/kladblokje_88) on keybase.
  • I have a public key ASBbHKqQYwDOVchXbh65bxS9HPnQ1QFEdNVln6ykFfn4jQo

To claim this, I am signing this object:

####
#### Step 1: Host and domain enumeration
####
$wer = Get-WMIObject Win32_ComputerSystem| Select-Object -ExpandProperty Domain;
###|
###| Unknown comments below
###|