The_Nexus_of_Evil

My XML

May 24th, 2020
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.55 KB | None | 0 0
  1. <domain type='kvm'>
  2.   <name>Win10-New</name>
  3.   <uuid>a035bbb5-4365-4437-84fb-a4515add33ac</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       <libosinfo:os id="http://microsoft.com/win/10"/>
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit='KiB'>16777216</memory>
  10.   <currentMemory unit='KiB'>16777216</currentMemory>
  11.   <memoryBacking>
  12.     <hugepages/>
  13.   </memoryBacking>
  14.   <vcpu placement='static'>8</vcpu>
  15.   <iothreads>1</iothreads>
  16.   <cputune>
  17.     <vcpupin vcpu='0' cpuset='2'/>
  18.     <vcpupin vcpu='1' cpuset='8'/>
  19.     <vcpupin vcpu='2' cpuset='3'/>
  20.     <vcpupin vcpu='3' cpuset='9'/>
  21.     <vcpupin vcpu='4' cpuset='4'/>
  22.     <vcpupin vcpu='5' cpuset='10'/>
  23.     <vcpupin vcpu='6' cpuset='5'/>
  24.     <vcpupin vcpu='7' cpuset='11'/>
  25.     <emulatorpin cpuset='0,6'/>
  26.     <iothreadpin iothread='1' cpuset='1'/>
  27.   </cputune>
  28.   <os>
  29.     <type arch='x86_64' machine='pc-q35-5.0'>hvm</type>
  30.     <loader readonly='yes' type='pflash'>/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  31.     <nvram>/var/lib/libvirt/qemu/nvram/Win10-New_VARS.fd</nvram>
  32.     <boot dev='hd'/>
  33.     <bootmenu enable='yes'/>
  34.   </os>
  35.   <features>
  36.     <acpi/>
  37.     <apic/>
  38.     <hyperv>
  39.       <relaxed state='on'/>
  40.       <vapic state='on'/>
  41.       <spinlocks state='on' retries='8191'/>
  42.       <vpindex state='on'/>
  43.       <runtime state='on'/>
  44.       <synic state='on'/>
  45.       <stimer state='on'/>
  46.       <reset state='on'/>
  47.       <frequencies state='on'/>
  48.       <reenlightenment state='on'/>
  49.       <tlbflush state='on'/>
  50.       <ipi state='off'/>
  51.       <evmcs state='off'/>
  52.     </hyperv>
  53.     <vmport state='off'/>
  54.     <ioapic driver='kvm'/>
  55.   </features>
  56.   <cpu mode='host-passthrough' check='none'>
  57.     <topology sockets='1' cores='4' threads='2'/>
  58.   </cpu>
  59.   <clock offset='localtime'>
  60.     <timer name='rtc' tickpolicy='catchup'/>
  61.     <timer name='pit' tickpolicy='delay'/>
  62.     <timer name='hpet' present='no'/>
  63.     <timer name='hypervclock' present='yes'/>
  64.   </clock>
  65.   <on_poweroff>destroy</on_poweroff>
  66.   <on_reboot>restart</on_reboot>
  67.   <on_crash>destroy</on_crash>
  68.   <pm>
  69.     <suspend-to-mem enabled='no'/>
  70.     <suspend-to-disk enabled='no'/>
  71.   </pm>
  72.   <devices>
  73.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  74.     <disk type='block' device='disk'>
  75.       <driver name='qemu' type='raw' cache='none' io='native' iothread='1'/>
  76.       <source dev='/dev/sdc'/>
  77.       <target dev='vda' bus='virtio'/>
  78.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  79.     </disk>
  80.     <disk type='block' device='disk'>
  81.       <driver name='qemu' type='raw' cache='none' io='native' iothread='1'/>
  82.       <source dev='/dev/sda'/>
  83.       <target dev='vdb' bus='virtio'/>
  84.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  85.     </disk>
  86.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  87.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  88.     </controller>
  89.     <controller type='sata' index='0'>
  90.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  91.     </controller>
  92.     <controller type='pci' index='0' model='pcie-root'/>
  93.     <controller type='pci' index='1' model='pcie-root-port'>
  94.       <model name='pcie-root-port'/>
  95.       <target chassis='1' port='0x8'/>
  96.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  97.     </controller>
  98.     <controller type='pci' index='2' model='pcie-root-port'>
  99.       <model name='pcie-root-port'/>
  100.       <target chassis='2' port='0x9'/>
  101.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  102.     </controller>
  103.     <controller type='pci' index='3' model='pcie-root-port'>
  104.       <model name='pcie-root-port'/>
  105.       <target chassis='3' port='0xa'/>
  106.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  107.     </controller>
  108.     <controller type='pci' index='4' model='pcie-root-port'>
  109.       <model name='pcie-root-port'/>
  110.       <target chassis='4' port='0xb'/>
  111.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  112.     </controller>
  113.     <controller type='pci' index='5' model='pcie-root-port'>
  114.       <model name='pcie-root-port'/>
  115.       <target chassis='5' port='0xc'/>
  116.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  117.     </controller>
  118.     <controller type='pci' index='6' model='pcie-root-port'>
  119.       <model name='pcie-root-port'/>
  120.       <target chassis='6' port='0xd'/>
  121.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  122.     </controller>
  123.     <controller type='pci' index='7' model='pcie-root-port'>
  124.       <model name='pcie-root-port'/>
  125.       <target chassis='7' port='0xe'/>
  126.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  127.     </controller>
  128.     <controller type='pci' index='8' model='pcie-root-port'>
  129.       <model name='pcie-root-port'/>
  130.       <target chassis='8' port='0xf'/>
  131.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
  132.     </controller>
  133.     <interface type='direct'>
  134.       <mac address='52:54:00:20:1b:30'/>
  135.       <source dev='enp0s31f6' mode='bridge'/>
  136.       <model type='virtio'/>
  137.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  138.     </interface>
  139.     <input type='mouse' bus='ps2'/>
  140.     <input type='keyboard' bus='ps2'/>
  141.     <hostdev mode='subsystem' type='pci' managed='yes'>
  142.       <source>
  143.         <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  144.       </source>
  145.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  146.     </hostdev>
  147.     <hostdev mode='subsystem' type='pci' managed='yes'>
  148.       <source>
  149.         <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
  150.       </source>
  151.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  152.     </hostdev>
  153.     <hostdev mode='subsystem' type='pci' managed='yes'>
  154.       <source>
  155.         <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  156.       </source>
  157.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  158.     </hostdev>
  159.     <hostdev mode='subsystem' type='usb' managed='yes'>
  160.       <source>
  161.         <vendor id='0x1b1c'/>
  162.         <product id='0x0c13'/>
  163.       </source>
  164.       <address type='usb' bus='0' port='1'/>
  165.     </hostdev>
  166.     <memballoon model='virtio'>
  167.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  168.     </memballoon>
  169.   </devices>
  170. </domain>
Add Comment
Please, Sign In to add comment