Guest User

Untitled

a guest
Feb 27th, 2021
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <domain type='kvm' id='1'>
  2.   <name>windows</name>
  3.   <uuid>165f4832-f943-4d4e-adf0-74141015b006</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'>24</vcpu>
  15.   <resource>
  16.     <partition>/machine</partition>
  17.   </resource>
  18.   <os>
  19.     <type arch='x86_64' machine='pc-q35-5.2'>hvm</type>
  20.   </os>
  21.   <features>
  22.     <acpi/>
  23.     <apic/>
  24.     <hyperv>
  25.       <relaxed state='on'/>
  26.       <vapic state='on'/>
  27.       <spinlocks state='on' retries='8191'/>
  28.       <vendor_id state='on' value='1234567890ab'/>
  29.     </hyperv>
  30.     <kvm>
  31.       <hidden state='on'/>
  32.     </kvm>
  33.     <vmport state='off'/>
  34.     <ioapic driver='kvm'/>
  35.   </features>
  36.   <cpu mode='host-passthrough' check='none' migratable='on'>
  37.     <topology sockets='1' dies='1' cores='12' threads='2'/>
  38.   </cpu>
  39.   <clock offset='localtime'>
  40.     <timer name='rtc' tickpolicy='catchup'/>
  41.     <timer name='pit' tickpolicy='delay'/>
  42.     <timer name='hpet' present='no'/>
  43.     <timer name='hypervclock' present='yes'/>
  44.   </clock>
  45.   <on_poweroff>destroy</on_poweroff>
  46.   <on_reboot>restart</on_reboot>
  47.   <on_crash>destroy</on_crash>
  48.   <pm>
  49.     <suspend-to-mem enabled='no'/>
  50.     <suspend-to-disk enabled='no'/>
  51.   </pm>
  52.   <devices>
  53.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  54.     <disk type='file' device='disk'>
  55.       <driver name='qemu' type='qcow2'/>
  56.       <source file='/var/lib/libvirt/images/windows.qcow2' index='3'/>
  57.       <backingStore/>
  58.       <target dev='vda' bus='virtio'/>
  59.       <boot order='2'/>
  60.       <alias name='virtio-disk0'/>
  61.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  62.     </disk>
  63.     <disk type='file' device='cdrom'>
  64.       <driver name='qemu' type='raw'/>
  65.       <source file='/home/vadorovsky/Downloads/Win10_20H2_v2_EnglishInternational_x64.iso' index='2'/>
  66.       <backingStore/>
  67.       <target dev='sdb' bus='sata'/>
  68.       <readonly/>
  69.       <boot order='1'/>
  70.       <alias name='sata0-0-1'/>
  71.       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  72.     </disk>
  73.     <disk type='file' device='cdrom'>
  74.       <driver name='qemu' type='raw'/>
  75.       <source file='/home/vadorovsky/Downloads/virtio-win-0.1.190.iso' index='1'/>
  76.       <backingStore/>
  77.       <target dev='sdc' bus='sata'/>
  78.       <readonly/>
  79.       <alias name='sata0-0-2'/>
  80.       <address type='drive' controller='0' bus='0' target='0' unit='2'/>
  81.     </disk>
  82.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  83.       <alias name='usb'/>
  84.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  85.     </controller>
  86.     <controller type='sata' index='0'>
  87.       <alias name='ide'/>
  88.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' 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='0x10'/>
  96.       <alias name='pci.1'/>
  97.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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='0x11'/>
  102.       <alias name='pci.2'/>
  103.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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='0x12'/>
  108.       <alias name='pci.3'/>
  109.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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='0x13'/>
  114.       <alias name='pci.4'/>
  115.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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='0x14'/>
  120.       <alias name='pci.5'/>
  121.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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='0x15'/>
  126.       <alias name='pci.6'/>
  127.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' 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='0x16'/>
  132.       <alias name='pci.7'/>
  133.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
  134.     </controller>
  135.     <controller type='pci' index='8' model='pcie-root-port'>
  136.       <model name='pcie-root-port'/>
  137.       <target chassis='8' port='0x17'/>
  138.       <alias name='pci.8'/>
  139.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
  140.     </controller>
  141.     <controller type='pci' index='9' model='pcie-root-port'>
  142.       <model name='pcie-root-port'/>
  143.       <target chassis='9' port='0x18'/>
  144.       <alias name='pci.9'/>
  145.       <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  146.     </controller>
  147.     <interface type='network'>
  148.       <mac address='52:54:00:51:11:82'/>
  149.       <source network='default' portid='9bfe6c5d-a74b-47c1-af5e-2609de88c83a' bridge='virbr0'/>
  150.       <target dev='vnet0'/>
  151.       <model type='virtio'/>
  152.       <alias name='net0'/>
  153.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  154.     </interface>
  155.     <serial type='pty'>
  156.       <source path='/dev/pts/1'/>
  157.       <target type='isa-serial' port='0'>
  158.         <model name='isa-serial'/>
  159.       </target>
  160.       <alias name='serial0'/>
  161.     </serial>
  162.     <console type='pty' tty='/dev/pts/1'>
  163.       <source path='/dev/pts/1'/>
  164.       <target type='serial' port='0'/>
  165.       <alias name='serial0'/>
  166.     </console>
  167.     <input type='tablet' bus='usb'>
  168.       <alias name='input0'/>
  169.       <address type='usb' bus='0' port='3'/>
  170.     </input>
  171.     <input type='mouse' bus='ps2'>
  172.       <alias name='input1'/>
  173.     </input>
  174.     <input type='keyboard' bus='ps2'>
  175.       <alias name='input2'/>
  176.     </input>
  177.     <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
  178.       <listen type='address' address='127.0.0.1'/>
  179.     </graphics>
  180.     <video>
  181.       <model type='vga' vram='16384' heads='1' primary='yes'/>
  182.       <alias name='video0'/>
  183.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  184.     </video>
  185.     <hostdev mode='subsystem' type='usb' managed='yes'>
  186.       <source>
  187.         <vendor id='0x046d'/>
  188.         <product id='0xc52b'/>
  189.         <address bus='5' device='13'/>
  190.       </source>
  191.       <alias name='hostdev0'/>
  192.       <address type='usb' bus='0' port='2'/>
  193.     </hostdev>
  194.     <hostdev mode='subsystem' type='pci' managed='yes'>
  195.       <driver name='vfio'/>
  196.       <source>
  197.         <address domain='0x0000' bus='0x0e' slot='0x00' function='0x0'/>
  198.       </source>
  199.       <alias name='hostdev1'/>
  200.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  201.     </hostdev>
  202.     <hostdev mode='subsystem' type='pci' managed='yes'>
  203.       <driver name='vfio'/>
  204.       <source>
  205.         <address domain='0x0000' bus='0x0e' slot='0x00' function='0x1'/>
  206.       </source>
  207.       <alias name='hostdev2'/>
  208.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  209.     </hostdev>
  210.     <hostdev mode='subsystem' type='pci' managed='yes'>
  211.       <driver name='vfio'/>
  212.       <source>
  213.         <address domain='0x0000' bus='0x0e' slot='0x00' function='0x2'/>
  214.       </source>
  215.       <alias name='hostdev3'/>
  216.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  217.     </hostdev>
  218.     <hostdev mode='subsystem' type='pci' managed='yes'>
  219.       <driver name='vfio'/>
  220.       <source>
  221.         <address domain='0x0000' bus='0x0e' slot='0x00' function='0x3'/>
  222.       </source>
  223.       <alias name='hostdev4'/>
  224.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  225.     </hostdev>
  226.     <memballoon model='virtio'>
  227.       <alias name='balloon0'/>
  228.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  229.     </memballoon>
  230.   </devices>
  231. </domain>
RAW Paste Data