***** This may not be needed. If default network isn't started by default for you, start the network manually.
**** This may not be needed. If default network isn't started by default for you, start the network manually.
#+BEGIN_SRC bash
sudo virsh net-start default
sudo virsh net-autostart default
#+END_SRC
** Setup Guest OS
***** Launch virt-manager, and start creating guest. On final step, check "Customize before install".
***** > In the "Overview" section, set Chipset to "Q35" and firmware to "UEFI".
***** > In the "CPUs" section, change CPU model to "host-passthrough". You need to type it manually. According to Arch Wiki, this makes sure that the CPU is detected properly. Without it, some applications may complain about your CPU being of an unknown model.
***** > Set Disk Bus of Storage to "virtio".
***** > Set NIC Device Model to "virtio".
***** Now, you can *Begin Installation*. You can continue installing Windows right now or after setting up Passthrough.
**** Launch virt-manager, and start creating guest. On final step, check "Customize before install".
**** > In the "Overview" section, set Chipset to "Q35" and firmware to "UEFI".
**** > In the "CPUs" section, change CPU model to "host-passthrough". You need to type it manually. According to Arch Wiki, this makes sure that the CPU is detected properly. Without it, some applications may complain about your CPU being of an unknown model.
**** > Set Disk Bus of Storage to "virtio".
**** > Set NIC Device Model to "virtio".
**** Now, you can *Begin Installation*. You can continue installing Windows right now or after setting up Passthrough.
** Attach PCI devices
***** Remove devices such as Spice Channel, XQL video adaper, USB tablet, etc.
***** Click on "Add Hardware" and add PCI devices for GPU and HDMI Audio. For NVIDIA GPU, GPU ROM should be patched. See next section.
**** Remove devices such as Spice Channel, XQL video adaper, USB tablet, etc.
**** Click on "Add Hardware" and add PCI devices for GPU and HDMI Audio. For NVIDIA GPU, GPU ROM should be patched. See next section.
** NVIDIA GPU Patching
***** Dump GPU VBIOS
**** Dump GPU VBIOS
Using GPU-Z in Windows is the easiest method of dumping VBIOS. The following command didn't work for me but it's worth trying.
#+BEGIN_SRC bash
su
@ -47,10 +47,10 @@ Using GPU-Z in Windows is the easiest method of dumping VBIOS. The following com