Guest User

Untitled

a guest
Jun 12th, 2020
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.07 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <domain type='kvm'>
  3.   <name>Windows 10</name>
  4.   <uuid>94c07092-4469-c380-ef0e-391c98b489c7</uuid>
  5.   <metadata>
  6.     <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  7.   </metadata>
  8.   <memory unit='KiB'>5242880</memory>
  9.   <currentMemory unit='KiB'>5242880</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.   <os>
  25.     <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
  26.     <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
  27.     <nvram>/etc/libvirt/qemu/nvram/94c07092-4469-c380-ef0e-391c98b489c7_VARS-pure-efi.fd</nvram>
  28.   </os>
  29.   <features>
  30.     <acpi/>
  31.     <apic/>
  32.     <hyperv>
  33.       <relaxed state='on'/>
  34.       <vapic state='on'/>
  35.       <spinlocks state='on' retries='8191'/>
  36.       <vendor_id state='on' value='none'/>
  37.     </hyperv>
  38.   </features>
  39.   <cpu mode='host-passthrough' check='none'>
  40.     <topology sockets='1' cores='4' 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='disk'>
  54.       <driver name='qemu' type='raw' cache='writeback'/>
  55.       <source file='/mnt/user/domains/Windows 10/vdisk1.img'/>
  56.       <target dev='hdc' bus='virtio'/>
  57.       <boot order='1'/>
  58.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  59.     </disk>
  60.     <disk type='file' device='cdrom'>
  61.       <driver name='qemu' type='raw'/>
  62.       <source file='/mnt/user/isos/Windows/Win10_2004_English_x64.iso'/>
  63.       <target dev='hda' bus='sata'/>
  64.       <readonly/>
  65.       <boot order='2'/>
  66.       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  67.     </disk>
  68.     <disk type='file' device='cdrom'>
  69.       <driver name='qemu' type='raw'/>
  70.       <source file='/mnt/user/isos/virtio-win-0.1.173-2.iso'/>
  71.       <target dev='hdb' bus='sata'/>
  72.       <readonly/>
  73.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  74.     </disk>
  75.     <controller type='usb' index='0' model='ich9-ehci1'>
  76.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
  77.     </controller>
  78.     <controller type='usb' index='0' model='ich9-uhci1'>
  79.       <master startport='0'/>
  80.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
  81.     </controller>
  82.     <controller type='usb' index='0' model='ich9-uhci2'>
  83.       <master startport='2'/>
  84.       <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
  85.     </controller>
  86.     <controller type='usb' index='0' model='ich9-uhci3'>
  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.     <controller type='pci' index='1' model='pcie-root-port'>
  92.       <model name='pcie-root-port'/>
  93.       <target chassis='1' port='0x8'/>
  94.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  95.     </controller>
  96.     <controller type='pci' index='2' model='pcie-root-port'>
  97.       <model name='pcie-root-port'/>
  98.       <target chassis='2' port='0x9'/>
  99.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  100.     </controller>
  101.     <controller type='pci' index='3' model='pcie-root-port'>
  102.       <model name='pcie-root-port'/>
  103.       <target chassis='3' port='0xa'/>
  104.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  105.     </controller>
  106.     <controller type='pci' index='4' model='pcie-root-port'>
  107.       <model name='pcie-root-port'/>
  108.       <target chassis='4' port='0xb'/>
  109.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  110.     </controller>
  111.     <controller type='pci' index='5' model='pcie-root-port'>
  112.       <model name='pcie-root-port'/>
  113.       <target chassis='5' port='0xc'/>
  114.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  115.     </controller>
  116.     <controller type='pci' index='6' model='pcie-root-port'>
  117.       <model name='pcie-root-port'/>
  118.       <target chassis='6' port='0xd'/>
  119.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  120.     </controller>
  121.     <controller type='pci' index='7' model='pcie-root-port'>
  122.       <model name='pcie-root-port'/>
  123.       <target chassis='7' port='0xe'/>
  124.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  125.     </controller>
  126.     <controller type='pci' index='8' model='pcie-to-pci-bridge'>
  127.       <model name='pcie-pci-bridge'/>
  128.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  129.     </controller>
  130.     <controller type='virtio-serial' index='0'>
  131.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  132.     </controller>
  133.     <controller type='sata' index='0'>
  134.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  135.     </controller>
  136.     <interface type='bridge'>
  137.       <mac address='52:54:00:ad:82:70'/>
  138.       <source bridge='virbr0'/>
  139.       <model type='virtio'/>
  140.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  141.     </interface>
  142.     <serial type='pty'>
  143.       <target type='isa-serial' port='0'>
  144.         <model name='isa-serial'/>
  145.       </target>
  146.     </serial>
  147.     <console type='pty'>
  148.       <target type='serial' port='0'/>
  149.     </console>
  150.     <channel type='unix'>
  151.       <target type='virtio' name='org.qemu.guest_agent.0'/>
  152.       <address type='virtio-serial' controller='0' bus='0' port='1'/>
  153.     </channel>
  154.     <input type='tablet' bus='usb'>
  155.       <address type='usb' bus='0' port='1'/>
  156.     </input>
  157.     <input type='mouse' bus='ps2'/>
  158.     <input type='keyboard' bus='ps2'/>
  159.     <hostdev mode='subsystem' type='pci' managed='yes'>
  160.       <driver name='vfio'/>
  161.       <source>
  162.         <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  163.       </source>
  164.       <rom file='/mnt/user/isos/vroms/edited-Asus.GTX660Ti.2048.120919.rom'/>
  165.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0' multifunction='on'/>
  166.     </hostdev>
  167.     <hostdev mode='subsystem' type='pci' managed='yes'>
  168.       <driver name='vfio'/>
  169.       <source>
  170.         <address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
  171.       </source>
  172.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
  173.     </hostdev>
  174.     <memballoon model='none'/>
  175.   </devices>
  176. </domain>
Add Comment
Please, Sign In to add comment