Advertisement
Querzion

Windows 11 - XML

Apr 7th, 2023 (edited)
1,086
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.44 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm'>
  3.   <name>Windows 11</name>
  4.   <uuid>22b3857e-7d7f-14d7-a8c1-b72805e7ed08</uuid>
  5.   <metadata>
  6.     <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/>
  7.   </metadata>
  8.   <memory unit='KiB'>33554432</memory>
  9.   <currentMemory unit='KiB'>33554432</currentMemory>
  10.   <memoryBacking>
  11.     <source type='memfd'/>
  12.     <access mode='shared'/>
  13.   </memoryBacking>
  14.   <vcpu placement='static'>12</vcpu>
  15.   <cputune>
  16.     <vcpupin vcpu='0' cpuset='6'/>
  17.     <vcpupin vcpu='1' cpuset='18'/>
  18.     <vcpupin vcpu='2' cpuset='7'/>
  19.     <vcpupin vcpu='3' cpuset='19'/>
  20.     <vcpupin vcpu='4' cpuset='8'/>
  21.     <vcpupin vcpu='5' cpuset='20'/>
  22.     <vcpupin vcpu='6' cpuset='9'/>
  23.     <vcpupin vcpu='7' cpuset='21'/>
  24.     <vcpupin vcpu='8' cpuset='10'/>
  25.     <vcpupin vcpu='9' cpuset='22'/>
  26.     <vcpupin vcpu='10' cpuset='11'/>
  27.     <vcpupin vcpu='11' cpuset='23'/>
  28.   </cputune>
  29.   <os>
  30.     <type arch='x86_64' machine='pc-q35-7.1'>hvm</type>
  31.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader>
  32.     <nvram>/etc/libvirt/qemu/nvram/22b3857e-7d7f-14d7-a8c1-b72805e7ed08_VARS-pure-efi-tpm.fd</nvram>
  33.     <boot dev='hd'/>
  34.   </os>
  35.   <features>
  36.     <acpi/>
  37.     <apic/>
  38.   </features>
  39.   <cpu mode='host-passthrough' check='none' migratable='on'>
  40.     <topology sockets='1' dies='1' cores='6' threads='2'/>
  41.     <cache mode='passthrough'/>
  42.     <feature policy='require' name='topoext'/>
  43.   </cpu>
  44.   <clock offset='localtime'>
  45.     <timer name='hypervclock' present='yes'/>
  46.     <timer name='hpet' present='no'/>
  47.   </clock>
  48.   <on_poweroff>destroy</on_poweroff>
  49.   <on_reboot>restart</on_reboot>
  50.   <on_crash>restart</on_crash>
  51.   <devices>
  52.     <emulator>/usr/local/sbin/qemu</emulator>
  53.     <disk type='file' device='cdrom'>
  54.       <driver name='qemu' type='raw'/>
  55.       <source file='/mnt/user/isos/virtio-win-0.1.229-1.iso'/>
  56.       <target dev='hdb' bus='sata'/>
  57.       <readonly/>
  58.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  59.     </disk>
  60.     <controller type='pci' index='0' model='pcie-root'/>
  61.     <controller type='pci' index='1' model='pcie-root-port'>
  62.       <model name='pcie-root-port'/>
  63.       <target chassis='1' port='0x8'/>
  64.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  65.     </controller>
  66.     <controller type='pci' index='2' model='pcie-root-port'>
  67.       <model name='pcie-root-port'/>
  68.       <target chassis='2' port='0x9'/>
  69.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  70.     </controller>
  71.     <controller type='pci' index='3' model='pcie-root-port'>
  72.       <model name='pcie-root-port'/>
  73.       <target chassis='3' port='0xa'/>
  74.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  75.     </controller>
  76.     <controller type='pci' index='4' model='pcie-root-port'>
  77.       <model name='pcie-root-port'/>
  78.       <target chassis='4' port='0xb'/>
  79.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  80.     </controller>
  81.     <controller type='pci' index='5' model='pcie-root-port'>
  82.       <model name='pcie-root-port'/>
  83.       <target chassis='5' port='0xc'/>
  84.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  85.     </controller>
  86.     <controller type='pci' index='6' model='pcie-root-port'>
  87.       <model name='pcie-root-port'/>
  88.       <target chassis='6' port='0xd'/>
  89.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  90.     </controller>
  91.     <controller type='pci' index='7' model='pcie-root-port'>
  92.       <model name='pcie-root-port'/>
  93.       <target chassis='7' port='0xe'/>
  94.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  95.     </controller>
  96.     <controller type='pci' index='8' model='pcie-root-port'>
  97.       <model name='pcie-root-port'/>
  98.       <target chassis='8' port='0xf'/>
  99.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
  100.     </controller>
  101.     <controller type='pci' index='9' model='pcie-root-port'>
  102.       <model name='pcie-root-port'/>
  103.       <target chassis='9' port='0x10'/>
  104.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  105.     </controller>
  106.     <controller type='pci' index='10' model='pcie-to-pci-bridge'>
  107.       <model name='pcie-pci-bridge'/>
  108.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  109.     </controller>
  110.     <controller type='virtio-serial' index='0'>
  111.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  112.     </controller>
  113.     <controller type='sata' index='0'>
  114.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  115.     </controller>
  116.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  117.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  118.     </controller>
  119.     <filesystem type='mount' accessmode='passthrough'>
  120.       <driver type='virtiofs' queue='1024'/>
  121.       <binary path='/usr/libexec/virtiofsd' xattr='on'>
  122.         <cache mode='always'/>
  123.         <sandbox mode='chroot'/>
  124.         <lock posix='on' flock='on'/>
  125.       </binary>
  126.       <source dir='/mnt/user/VMs'/>
  127.       <target dir='VMs'/>
  128.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  129.     </filesystem>
  130.     <interface type='bridge'>
  131.       <mac address='52:54:00:60:e5:40'/>
  132.       <source bridge='br0'/>
  133.       <model type='virtio'/>
  134.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  135.     </interface>
  136.     <serial type='pty'>
  137.       <target type='isa-serial' port='0'>
  138.         <model name='isa-serial'/>
  139.       </target>
  140.     </serial>
  141.     <console type='pty'>
  142.       <target type='serial' port='0'/>
  143.     </console>
  144.     <channel type='unix'>
  145.       <target type='virtio' name='org.qemu.guest_agent.0'/>
  146.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  147.     </channel>
  148.     <input type='mouse' bus='ps2'/>
  149.     <input type='keyboard' bus='ps2'/>
  150.     <tpm model='tpm-tis'>
  151.       <backend type='emulator' version='2.0' persistent_state='yes'/>
  152.     </tpm>
  153.     <audio id='1' type='none'/>
  154.     <hostdev mode='subsystem' type='pci' managed='yes'>
  155.       <driver name='vfio'/>
  156.       <source>
  157.         <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  158.       </source>
  159.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0' multifunction='on'/>
  160.     </hostdev>
  161.     <hostdev mode='subsystem' type='pci' managed='yes'>
  162.       <driver name='vfio'/>
  163.       <source>
  164.         <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
  165.       </source>
  166.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
  167.     </hostdev>
  168.     <hostdev mode='subsystem' type='pci' managed='yes'>
  169.       <driver name='vfio'/>
  170.       <source>
  171.         <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  172.       </source>
  173.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  174.     </hostdev>
  175.     <hostdev mode='subsystem' type='pci' managed='yes'>
  176.       <driver name='vfio'/>
  177.       <source>
  178.         <address domain='0x0000' bus='0x12' slot='0x00' function='0x0'/>
  179.       </source>
  180.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  181.     </hostdev>
  182.     <hostdev mode='subsystem' type='usb' managed='no'>
  183.       <source>
  184.         <vendor id='0x04d9'/>
  185.         <product id='0xa0d1'/>
  186.       </source>
  187.       <address type='usb' bus='0' port='1'/>
  188.     </hostdev>
  189.     <hostdev mode='subsystem' type='usb' managed='no'>
  190.       <source>
  191.         <vendor id='0x08bb'/>
  192.         <product id='0x2902'/>
  193.       </source>
  194.       <address type='usb' bus='0' port='2'/>
  195.     </hostdev>
  196.     <hostdev mode='subsystem' type='usb' managed='no'>
  197.       <source>
  198.         <vendor id='0x1038'/>
  199.         <product id='0x220a'/>
  200.       </source>
  201.       <address type='usb' bus='0' port='3'/>
  202.     </hostdev>
  203.     <hostdev mode='subsystem' type='usb' managed='no'>
  204.       <source>
  205.         <vendor id='0x13d3'/>
  206.         <product id='0x3571'/>
  207.       </source>
  208.       <address type='usb' bus='0' port='4'/>
  209.     </hostdev>
  210.     <hostdev mode='subsystem' type='usb' managed='no'>
  211.       <source>
  212.         <vendor id='0x18f8'/>
  213.         <product id='0x0f99'/>
  214.       </source>
  215.       <address type='usb' bus='0' port='5'/>
  216.     </hostdev>
  217.     <memballoon model='none'/>
  218.   </devices>
  219. </domain>
  220.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement