Advertisement
Jonhrs

Untitled

May 1st, 2025
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.90 KB | Source Code | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' id='10'>
  3.   <name>Windows 11 GPU</name>
  4.   <uuid>e3701c4e-984d-6087-2b3f-59daaced6771</uuid>
  5.   <metadata>
  6.     <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm" webui=""/>
  7.   </metadata>
  8.   <memory unit='KiB'>10485760</memory>
  9.   <currentMemory unit='KiB'>10485760</currentMemory>
  10.   <memoryBacking>
  11.     <nosharepages/>
  12.   </memoryBacking>
  13.   <vcpu placement='static'>8</vcpu>
  14.   <cputune>
  15.     <vcpupin vcpu='0' cpuset='2'/>
  16.     <vcpupin vcpu='1' cpuset='8'/>
  17.     <vcpupin vcpu='2' cpuset='3'/>
  18.     <vcpupin vcpu='3' cpuset='9'/>
  19.     <vcpupin vcpu='4' cpuset='4'/>
  20.     <vcpupin vcpu='5' cpuset='10'/>
  21.     <vcpupin vcpu='6' cpuset='5'/>
  22.     <vcpupin vcpu='7' cpuset='11'/>
  23.   </cputune>
  24.   <resource>
  25.     <partition>/machine</partition>
  26.   </resource>
  27.   <os>
  28.     <type arch='x86_64' machine='pc-q35-7.2'>hvm</type>
  29.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader>
  30.     <nvram>/etc/libvirt/qemu/nvram/e3701c4e-984d-6087-2b3f-59daaced6771_VARS-pure-efi-tpm.fd</nvram>
  31.   </os>
  32.   <features>
  33.     <acpi/>
  34.     <apic/>
  35.     <hyperv mode='custom'>
  36.       <relaxed state='on'/>
  37.       <vapic state='on'/>
  38.       <spinlocks state='on' retries='8191'/>
  39.       <vpindex state='on'/>
  40.       <synic state='on'/>
  41.       <stimer state='on'/>
  42.       <vendor_id state='on' value='none'/>
  43.     </hyperv>
  44.   </features>
  45.   <cpu mode='host-passthrough' check='none' migratable='off'>
  46.     <topology sockets='1' dies='1' clusters='1' cores='4' threads='2'/>
  47.     <cache mode='passthrough'/>
  48.     <feature policy='require' name='topoext'/>
  49.   </cpu>
  50.   <clock offset='localtime'>
  51.     <timer name='hpet' present='no'/>
  52.     <timer name='hypervclock' present='yes'/>
  53.     <timer name='pit' tickpolicy='delay'/>
  54.     <timer name='rtc' tickpolicy='catchup'/>
  55.   </clock>
  56.   <on_poweroff>destroy</on_poweroff>
  57.   <on_reboot>restart</on_reboot>
  58.   <on_crash>restart</on_crash>
  59.   <devices>
  60.     <emulator>/usr/local/sbin/qemu</emulator>
  61.     <disk type='file' device='disk'>
  62.       <driver name='qemu' type='raw' cache='writeback' discard='ignore'/>
  63.       <source file='/mnt/user/domains/Windows 11/vdisk1.img' index='1'/>
  64.       <backingStore/>
  65.       <target dev='hdc' bus='virtio'/>
  66.       <serial>vdisk1</serial>
  67.       <boot order='1'/>
  68.       <alias name='virtio-disk2'/>
  69.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  70.     </disk>
  71.     <controller type='usb' index='0' model='ich9-ehci1'>
  72.       <alias name='usb'/>
  73.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
  74.     </controller>
  75.     <controller type='usb' index='0' model='ich9-uhci1'>
  76.       <alias name='usb'/>
  77.       <master startport='0'/>
  78.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
  79.     </controller>
  80.     <controller type='usb' index='0' model='ich9-uhci2'>
  81.       <alias name='usb'/>
  82.       <master startport='2'/>
  83.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
  84.     </controller>
  85.     <controller type='usb' index='0' model='ich9-uhci3'>
  86.       <alias name='usb'/>
  87.       <master startport='4'/>
  88.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
  89.     </controller>
  90.     <controller type='pci' index='0' model='pcie-root'>
  91.       <alias name='pcie.0'/>
  92.     </controller>
  93.     <controller type='pci' index='1' model='pcie-root-port'>
  94.       <model name='pcie-root-port'/>
  95.       <target chassis='1' port='0x8'/>
  96.       <alias name='pci.1'/>
  97.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  98.     </controller>
  99.     <controller type='pci' index='2' model='pcie-root-port'>
  100.       <model name='pcie-root-port'/>
  101.       <target chassis='2' port='0x9'/>
  102.       <alias name='pci.2'/>
  103.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  104.     </controller>
  105.     <controller type='pci' index='3' model='pcie-root-port'>
  106.       <model name='pcie-root-port'/>
  107.       <target chassis='3' port='0xa'/>
  108.       <alias name='pci.3'/>
  109.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  110.     </controller>
  111.     <controller type='pci' index='4' model='pcie-root-port'>
  112.       <model name='pcie-root-port'/>
  113.       <target chassis='4' port='0xb'/>
  114.       <alias name='pci.4'/>
  115.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  116.     </controller>
  117.     <controller type='pci' index='5' model='pcie-root-port'>
  118.       <model name='pcie-root-port'/>
  119.       <target chassis='5' port='0xc'/>
  120.       <alias name='pci.5'/>
  121.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  122.     </controller>
  123.     <controller type='pci' index='6' model='pcie-root-port'>
  124.       <model name='pcie-root-port'/>
  125.       <target chassis='6' port='0xd'/>
  126.       <alias name='pci.6'/>
  127.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  128.     </controller>
  129.     <controller type='pci' index='7' model='pcie-root-port'>
  130.       <model name='pcie-root-port'/>
  131.       <target chassis='7' port='0xe'/>
  132.       <alias name='pci.7'/>
  133.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  134.     </controller>
  135.     <controller type='virtio-serial' index='0'>
  136.       <alias name='virtio-serial0'/>
  137.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  138.     </controller>
  139.     <controller type='sata' index='0'>
  140.       <alias name='ide'/>
  141.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  142.     </controller>
  143.     <interface type='bridge'>
  144.       <mac address='52:54:00:8c:44:ed'/>
  145.       <source bridge='br0'/>
  146.       <target dev='vnet7'/>
  147.       <model type='virtio-net'/>
  148.       <alias name='net0'/>
  149.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  150.     </interface>
  151.     <serial type='pty'>
  152.       <source path='/dev/pts/0'/>
  153.       <target type='isa-serial' port='0'>
  154.         <model name='isa-serial'/>
  155.       </target>
  156.       <alias name='serial0'/>
  157.     </serial>
  158.     <console type='pty' tty='/dev/pts/0'>
  159.       <source path='/dev/pts/0'/>
  160.       <target type='serial' port='0'/>
  161.       <alias name='serial0'/>
  162.     </console>
  163.     <channel type='unix'>
  164.       <source mode='bind' path='/run/libvirt/qemu/channel/10-Windows 11 GPU/org.qemu.guest_agent.0'/>
  165.       <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
  166.       <alias name='channel0'/>
  167.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  168.     </channel>
  169.     <input type='mouse' bus='ps2'>
  170.       <alias name='input0'/>
  171.     </input>
  172.     <input type='keyboard' bus='ps2'>
  173.       <alias name='input1'/>
  174.     </input>
  175.     <tpm model='tpm-tis'>
  176.       <backend type='emulator' version='2.0' persistent_state='yes'/>
  177.       <alias name='tpm0'/>
  178.     </tpm>
  179.     <audio id='1' type='none'/>
  180.     <hostdev mode='subsystem' type='pci' managed='yes'>
  181.       <driver name='vfio'/>
  182.       <source>
  183.         <address domain='0x0000' bus='0x10' slot='0x00' function='0x0'/>
  184.       </source>
  185.       <alias name='hostdev0'/>
  186.       <rom file='/mnt/user/domains/vbios/gpu_GT1030_vbios.rom'/>
  187.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0' multifunction='on'/>
  188.     </hostdev>
  189.     <hostdev mode='subsystem' type='pci' managed='yes'>
  190.       <driver name='vfio'/>
  191.       <source>
  192.         <address domain='0x0000' bus='0x10' slot='0x00' function='0x1'/>
  193.       </source>
  194.       <alias name='hostdev1'/>
  195.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x1'/>
  196.     </hostdev>
  197.     <watchdog model='itco' action='reset'>
  198.       <alias name='watchdog0'/>
  199.     </watchdog>
  200.     <memballoon model='none'/>
  201.   </devices>
  202.   <seclabel type='dynamic' model='dac' relabel='yes'>
  203.     <label>+0:+100</label>
  204.     <imagelabel>+0:+100</imagelabel>
  205.   </seclabel>
  206. </domain>
  207.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement