Advertisement
Guest User

Untitled

a guest
Nov 10th, 2022
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.20 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2.   <name>win11-egpu</name>
  3.   <uuid>cc767b79-a711-4bd0-a266-5b5dec2a0b79</uuid>
  4.   <memory unit="KiB">25165824</memory>
  5.   <currentMemory unit="KiB">25165824</currentMemory>
  6.   <memoryBacking>
  7.     <hugepages/>
  8.   </memoryBacking>
  9.   <vcpu placement="static">12</vcpu>
  10.   <vcpus>
  11.     <vcpu id="0" enabled="yes" hotpluggable="no"/>
  12.     <vcpu id="1" enabled="yes" hotpluggable="no"/>
  13.     <vcpu id="2" enabled="yes" hotpluggable="no"/>
  14.     <vcpu id="3" enabled="yes" hotpluggable="no"/>
  15.     <vcpu id="4" enabled="yes" hotpluggable="no"/>
  16.     <vcpu id="5" enabled="yes" hotpluggable="no"/>
  17.     <vcpu id="6" enabled="yes" hotpluggable="no"/>
  18.     <vcpu id="7" enabled="yes" hotpluggable="no"/>
  19.     <vcpu id="8" enabled="yes" hotpluggable="no"/>
  20.     <vcpu id="9" enabled="yes" hotpluggable="no"/>
  21.     <vcpu id="10" enabled="yes" hotpluggable="no"/>
  22.     <vcpu id="11" enabled="yes" hotpluggable="no"/>
  23.   </vcpus>
  24.   <cputune>
  25.     <vcpupin vcpu="0" cpuset="0"/>
  26.     <vcpupin vcpu="1" cpuset="6"/>
  27.     <vcpupin vcpu="2" cpuset="1"/>
  28.     <vcpupin vcpu="3" cpuset="7"/>
  29.     <vcpupin vcpu="4" cpuset="2"/>
  30.     <vcpupin vcpu="5" cpuset="8"/>
  31.     <vcpupin vcpu="6" cpuset="3"/>
  32.     <vcpupin vcpu="7" cpuset="9"/>
  33.     <vcpupin vcpu="8" cpuset="4"/>
  34.     <vcpupin vcpu="9" cpuset="10"/>
  35.     <vcpupin vcpu="10" cpuset="5"/>
  36.     <vcpupin vcpu="11" cpuset="11"/>
  37.     <emulatorpin cpuset="5,11"/>
  38.   </cputune>
  39.   <os>
  40.     <type arch="x86_64" machine="pc-q35-6.2">hvm</type>
  41.     <loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE_4M.fd</loader>
  42.     <nvram>/home/myozov/Desktop/KVM/ovmf/win11-egpu_VARS.fd</nvram>
  43.     <bootmenu enable="yes"/>
  44.   </os>
  45.   <features>
  46.     <acpi/>
  47.     <apic/>
  48.     <kvm>
  49.       <hidden state="on"/>
  50.     </kvm>
  51.     <vmport state="off"/>
  52.     <ioapic driver="kvm"/>
  53.   </features>
  54.   <cpu mode="host-model" check="none">
  55.     <topology sockets="1" dies="1" cores="6" threads="2"/>
  56.   </cpu>
  57.   <clock offset="localtime">
  58.     <timer name="rtc" tickpolicy="catchup" track="guest"/>
  59.     <timer name="pit" tickpolicy="discard"/>
  60.     <timer name="hpet" present="no"/>
  61.   </clock>
  62.   <on_poweroff>destroy</on_poweroff>
  63.   <on_reboot>restart</on_reboot>
  64.   <on_crash>destroy</on_crash>
  65.   <pm>
  66.     <suspend-to-mem enabled="no"/>
  67.     <suspend-to-disk enabled="no"/>
  68.   </pm>
  69.   <devices>
  70.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  71.     <disk type="file" device="disk">
  72.       <driver name="qemu" type="qcow2"/>
  73.       <source file="/stuff/KVM/images/win11.img"/>
  74.       <target dev="sdb" bus="sata"/>
  75.       <boot order="1"/>
  76.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  77.     </disk>
  78.     <controller type="sata" index="0">
  79.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  80.     </controller>
  81.     <controller type="usb" index="0" model="qemu-xhci">
  82.       <address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
  83.     </controller>
  84.     <controller type="pci" index="0" model="pcie-root"/>
  85.     <controller type="pci" index="1" model="pcie-root-port">
  86.       <model name="pcie-root-port"/>
  87.       <target chassis="1" port="0x1"/>
  88.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  89.     </controller>
  90.     <controller type="pci" index="2" model="pcie-root-port">
  91.       <model name="pcie-root-port"/>
  92.       <target chassis="2" port="0x2"/>
  93.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  94.     </controller>
  95.     <controller type="pci" index="3" model="pcie-root-port">
  96.       <model name="pcie-root-port"/>
  97.       <target chassis="3" port="0x3"/>
  98.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  99.     </controller>
  100.     <interface type="bridge">
  101.       <mac address="52:54:00:3e:78:25"/>
  102.       <source bridge="virbr0"/>
  103.       <model type="e1000e"/>
  104.       <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
  105.     </interface>
  106.     <input type="mouse" bus="ps2"/>
  107.     <input type="keyboard" bus="ps2"/>
  108.     <tpm model="tpm-tis">
  109.       <backend type="emulator" version="2.0"/>
  110.     </tpm>
  111.     <audio id="1" type="none"/>
  112.     <hostdev mode="subsystem" type="pci" managed="no">
  113.       <source>
  114.         <address domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/>
  115.       </source>
  116.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0" multifunction="on"/>
  117.     </hostdev>
  118.     <hostdev mode="subsystem" type="pci" managed="no">
  119.       <source>
  120.         <address domain="0x0000" bus="0x0c" slot="0x00" function="0x1"/>
  121.       </source>
  122.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  123.     </hostdev>
  124.     <hostdev mode="subsystem" type="usb" managed="yes">
  125.       <source>
  126.         <vendor id="0x046d"/>
  127.         <product id="0xc52b"/>
  128.       </source>
  129.       <address type="usb" bus="0" port="1"/>
  130.     </hostdev>
  131.     <memballoon model="none"/>
  132.   </devices>
  133.   <qemu:commandline>
  134.     <qemu:arg value="-smbios"/>
  135.     <qemu:arg value="type=2"/>
  136.     <qemu:arg value="-global"/>
  137.     <qemu:arg value="ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off"/>
  138.   </qemu:commandline>
  139. </domain>
  140.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement