Advertisement
Guest User

Untitled

a guest
Jan 4th, 2024
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.28 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  3.   <name>Windows 111</name>
  4.   <uuid>038a066b-7c69-c340-6fe9-8254a1af99a4</uuid>
  5.   <metadata>
  6.     <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/>
  7.   </metadata>
  8.   <memory unit='KiB'>8388608</memory>
  9.   <currentMemory unit='KiB'>4194304</currentMemory>
  10.   <memoryBacking>
  11.     <nosharepages/>
  12.   </memoryBacking>
  13.   <vcpu placement='static'>4</vcpu>
  14.   <cputune>
  15.     <vcpupin vcpu='0' cpuset='0'/>
  16.     <vcpupin vcpu='1' cpuset='1'/>
  17.     <vcpupin vcpu='2' cpuset='2'/>
  18.     <vcpupin vcpu='3' cpuset='3'/>
  19.   </cputune>
  20.   <os>
  21.     <type arch='x86_64' machine='pc-q35-7.1'>hvm</type>
  22.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader>
  23.     <nvram>/etc/libvirt/qemu/nvram/038a066b-7c69-c340-6fe9-8254a1af99a4_VARS-pure-efi-tpm.fd</nvram>
  24.   </os>
  25.   <features>
  26.     <acpi/>
  27.     <apic/>
  28.     <hyperv mode='custom'>
  29.       <relaxed state='on'/>
  30.       <vapic state='on'/>
  31.       <spinlocks state='on' retries='8191'/>
  32.       <vendor_id state='on' value='none'/>
  33.     </hyperv>
  34.   </features>
  35.   <cpu mode='host-passthrough' check='none' migratable='on'>
  36.     <topology sockets='1' dies='1' cores='2' threads='2'/>
  37.     <cache mode='passthrough'/>
  38.   </cpu>
  39.   <clock offset='localtime'>
  40.     <timer name='hypervclock' present='yes'/>
  41.     <timer name='hpet' present='no'/>
  42.   </clock>
  43.   <on_poweroff>destroy</on_poweroff>
  44.   <on_reboot>restart</on_reboot>
  45.   <on_crash>restart</on_crash>
  46.   <devices>
  47.     <emulator>/usr/local/sbin/qemu</emulator>
  48.     <disk type='file' device='disk'>
  49.       <driver name='qemu' type='raw' cache='writeback'/>
  50.       <source file='/mnt/user/domains/Windows 111/vdisk1.img'/>
  51.       <target dev='hdc' bus='virtio'/>
  52.       <serial>vdisk1</serial>
  53.       <boot order='1'/>
  54.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  55.     </disk>
  56.     <disk type='file' device='cdrom'>
  57.       <driver name='qemu' type='raw'/>
  58.       <source file='/mnt/user/isos/Win11_23H2_EnglishInternational_x64v2.iso'/>
  59.       <target dev='hda' bus='sata'/>
  60.       <readonly/>
  61.       <boot order='2'/>
  62.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  63.     </disk>
  64.     <disk type='file' device='cdrom'>
  65.       <driver name='qemu' type='raw'/>
  66.       <source file='/mnt/user/isos/virtio-win-0.1.240-1.iso'/>
  67.       <target dev='hdb' bus='sata'/>
  68.       <readonly/>
  69.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  70.     </disk>
  71.     <controller type='usb' index='0' model='ich9-ehci1'>
  72.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
  73.     </controller>
  74.     <controller type='usb' index='0' model='ich9-uhci1'>
  75.       <master startport='0'/>
  76.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
  77.     </controller>
  78.     <controller type='usb' index='0' model='ich9-uhci2'>
  79.       <master startport='2'/>
  80.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
  81.     </controller>
  82.     <controller type='usb' index='0' model='ich9-uhci3'>
  83.       <master startport='4'/>
  84.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
  85.     </controller>
  86.     <controller type='sata' index='0'>
  87.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  88.     </controller>
  89.     <controller type='pci' index='0' model='pcie-root'/>
  90.     <controller type='pci' index='1' model='pcie-root-port'>
  91.       <model name='pcie-root-port'/>
  92.       <target chassis='1' port='0x8'/>
  93.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  94.     </controller>
  95.     <controller type='pci' index='2' model='pcie-to-pci-bridge'>
  96.       <model name='pcie-pci-bridge'/>
  97.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  98.     </controller>
  99.     <controller type='pci' index='3' model='pcie-root-port'>
  100.       <model name='pcie-root-port'/>
  101.       <target chassis='3' port='0x9'/>
  102.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  103.     </controller>
  104.     <controller type='pci' index='4' model='pcie-root-port'>
  105.       <model name='pcie-root-port'/>
  106.       <target chassis='4' port='0xa'/>
  107.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  108.     </controller>
  109.     <controller type='pci' index='5' model='pcie-root-port'>
  110.       <model name='pcie-root-port'/>
  111.       <target chassis='5' port='0xb'/>
  112.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  113.     </controller>
  114.     <controller type='pci' index='6' model='pcie-root-port'>
  115.       <model name='pcie-root-port'/>
  116.       <target chassis='6' port='0xc'/>
  117.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  118.     </controller>
  119.     <controller type='pci' index='7' model='pcie-root-port'>
  120.       <model name='pcie-root-port'/>
  121.       <target chassis='7' port='0xd'/>
  122.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  123.     </controller>
  124.     <controller type='virtio-serial' index='0'>
  125.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  126.     </controller>
  127.     <interface type='bridge'>
  128.       <mac address='52:54:00:5a:96:d3'/>
  129.       <source bridge='br0'/>
  130.       <model type='e1000'/>
  131.       <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
  132.     </interface>
  133.     <serial type='pty'>
  134.       <target type='isa-serial' port='0'>
  135.         <model name='isa-serial'/>
  136.       </target>
  137.     </serial>
  138.     <console type='pty'>
  139.       <target type='serial' port='0'/>
  140.     </console>
  141.     <channel type='unix'>
  142.       <target type='virtio' name='org.qemu.guest_agent.0'/>
  143.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  144.     </channel>
  145.     <input type='mouse' bus='ps2'/>
  146.     <input type='keyboard' bus='ps2'/>
  147.     <tpm model='tpm-tis'>
  148.       <backend type='emulator' version='2.0' persistent_state='yes'/>
  149.     </tpm>
  150.     <audio id='1' type='none'/>
  151.     <hostdev mode='subsystem' type='pci' managed='yes'>
  152.       <driver name='vfio'/>
  153.       <source>
  154.         <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  155.       </source>
  156.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  157.     </hostdev>
  158.     <hostdev mode='subsystem' type='pci' managed='yes'>
  159.       <driver name='vfio'/>
  160.       <source>
  161.         <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  162.       </source>
  163.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  164.     </hostdev>
  165.     <hostdev mode='subsystem' type='usb' managed='no'>
  166.       <source>
  167.         <vendor id='0x0461'/>
  168.         <product id='0x4e8e'/>
  169.       </source>
  170.       <address type='usb' bus='0' port='1'/>
  171.     </hostdev>
  172.     <hostdev mode='subsystem' type='usb' managed='no'>
  173.       <source>
  174.         <vendor id='0x046d'/>
  175.         <product id='0xc52b'/>
  176.       </source>
  177.       <address type='usb' bus='0' port='2'/>
  178.     </hostdev>
  179.     <memballoon model='none'/>
  180.   </devices>
  181.   <qemu:commandline>
  182.     <qemu:arg value='-fw_cfg'/>
  183.     <qemu:arg value='opt/ovmf/X-PciMmio64Mb,string=65536'/>
  184.   </qemu:commandline>
  185. </domain>
  186.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement