From 0034421f8b1b051b854a18a9843d66d3796bca95 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 21 Jan 2022 21:24:38 +0100 Subject: [PATCH] [KVM] Add Desktop gpu-passthrouth config --- configs/kvm/confs/win10.xml | 247 +++++ configs/kvm/libvirt/hooks/kvm.conf | 9 + configs/kvm/libvirt/hooks/qemu | 28 + .../win10/prepare/begin/alloc_hugepages.sh | 29 + .../prepare/begin/cpu_mode_performance.sh | 7 + .../hooks/qemu.d/win10/prepare/begin/start.sh | 35 + .../win10/release/end/cpu_mode_ondemand.sh | 7 + .../win10/release/end/dealloc_hugepages.sh | 4 + .../hooks/qemu.d/win10/release/end/stop.sh | 36 + configs/kvm/libvirt/qemu.conf | 955 ++++++++++++++++++ .../roms/rtx2080ti-founder-90_02_17_00_04.rom | Bin 0 -> 881664 bytes 11 files changed, 1357 insertions(+) create mode 100644 configs/kvm/confs/win10.xml create mode 100644 configs/kvm/libvirt/hooks/kvm.conf create mode 100755 configs/kvm/libvirt/hooks/qemu create mode 100755 configs/kvm/libvirt/hooks/qemu.d/win10/prepare/begin/alloc_hugepages.sh create mode 100755 configs/kvm/libvirt/hooks/qemu.d/win10/prepare/begin/cpu_mode_performance.sh create mode 100755 configs/kvm/libvirt/hooks/qemu.d/win10/prepare/begin/start.sh create mode 100755 configs/kvm/libvirt/hooks/qemu.d/win10/release/end/cpu_mode_ondemand.sh create mode 100755 configs/kvm/libvirt/hooks/qemu.d/win10/release/end/dealloc_hugepages.sh create mode 100755 configs/kvm/libvirt/hooks/qemu.d/win10/release/end/stop.sh create mode 100644 configs/kvm/libvirt/qemu.conf create mode 100644 configs/kvm/roms/rtx2080ti-founder-90_02_17_00_04.rom diff --git a/configs/kvm/confs/win10.xml b/configs/kvm/confs/win10.xml new file mode 100644 index 0000000..cccdbc1 --- /dev/null +++ b/configs/kvm/confs/win10.xml @@ -0,0 +1,247 @@ + + win10 + b3d036ee-75ff-43fe-be76-b8c5494f5dd7 + + + + + + 25165824 + 25165824 + + + + 32 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + hvm + /usr/share/edk2-ovmf/x64/OVMF_CODE.fd + /var/lib/libvirt/qemu/nvram/win10_VARS.fd + + + + + + + + + + + + + + + + + + + + + + + + + + + + destroy + restart + destroy + + + + + + /usr/bin/qemu-system-x86_64 + + + + + +
+ + + + + + +
+ + + + + + +
+ + +
+ + +
+ + + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + +
+ + + + + +
+ + + +