[You can download the bios.](techpowerup vgabios) If you do so, download a HEX editor and skip to step 4.
6. Get the GPU BIOS [Source](https://www.youtube.com/watch?v=1IP-h9IKof0). [You can download the bios](https://www.techpowerup.com/vgabios/). If you do so, download a HEX editor and skip to step 4.
1. Boot the host into Windows.
2. [Download and install GPU-Z](GPU-Z).
3. [Download and install a HEX editor](bless).
2. [Download and install GPU-Z](https://www.techpowerup.com/gpuz/).
3. [Download and install a HEX editor](https://github.com/bwrsandman/Bless).
3. Open GPU-Z and backup the GPU BIOS. Right next to the `Bios Version`; in my case `80.04.C3.00.0F`, there is an icon for backup. A file named `GK104.rom` will be created. [There is also a way of doing it in Linux]() but it did not work for me.
4. Open the ROM (`GK104.rom`) in the HEX editor.
5. After a bunch of `00` there is a `55` or `U` in HEX, delete everything before the `55`, and save. I strongly recommend not to overwrite the original ROM.
12. Let Windows find the drivers for the GPU (if Windows has network) or [download the updated ones from NVIDIA](GPU_drivers).
12. Let Windows find the drivers for the GPU (if Windows has network) or [download the updated ones from NVIDIA](https://www.nvidia.com/Download/index.aspx?lang=en-us).
12. Once installed Windows, run the VM with
```
@ -179,7 +176,7 @@ QEMU should never be run as root. If you must launch it in a script as root, you
## TODO
- [x] Unbind GPU without `virsh`
- [] Update macos script
- [x] Update macos script
- [ ] Network
- [ ] Audio
- [ ] IOMMU
@ -193,19 +190,12 @@ QEMU should never be run as root. If you must launch it in a script as root, you