trademark91

Untitled

Jan 5th, 2022
1,471
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.49 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2.   <name>win10</name>
  3.   <uuid>e25ca9e9-608f-4e2a-abfb-c1d6c38f077b</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       bosinfo:os id="http://microsoft.com/win/10"/&gt;
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit='KiB'>25165824</memory>
  10.   <currentMemory unit='KiB'>25165284</currentMemory>
  11.   <vcpu placement='static'>8</vcpu>
  12.   <iothreads>1</iothreads>
  13.   <cputune>
  14.     <vcpupin vcpu='0' cpuset='7'/>
  15.     <vcpupin vcpu='1' cpuset='15'/>
  16.     <vcpupin vcpu='2' cpuset='6'/>
  17.     <vcpupin vcpu='3' cpuset='14'/>
  18.     <vcpupin vcpu='4' cpuset='5'/>
  19.     <vcpupin vcpu='5' cpuset='13'/>
  20.     <emulatorpin cpuset='3,11'/>
  21.     <iothreadpin iothread='1' cpuset='4,12'/>
  22.   </cputune>
  23.   <os>
  24.     <type arch='x86_64' machine='pc-q35-5.0'>hvm</type>
  25.     <loader readonly='yes' type='pflash'>/usr/share/qemu/edk2-x86_64-code.fd</loader>
  26.     <nvram>/var/lib/libvirt/qemu/nvram/win10-FullPower_VARS.fd</nvram>
  27.   </os>
  28.   <features>
  29.     <acpi/>
  30.     <apic/>
  31.     <hyperv>
  32.       <relaxed state='on'/>
  33.       <vapic state='on'/>
  34.       <spinlocks state='on' retries='8191'/>
  35.       <vpindex state='on'/>
  36.       <synic state='on'/>
  37.       <stimer state='on'/>
  38.       <reset state='on'/>
  39.       <vendor_id state='on' value='123456789ab'/>
  40.       <frequencies state='on'/>
  41.     </hyperv>
  42.     <kvm>
  43.       <hidden state='on'/>
  44.     </kvm>
  45.     <vmport state='off'/>
  46.     <ioapic driver='kvm'/>
  47.   </features>
  48.   <cpu mode='host-model' check='partial'>
  49.     <topology sockets='1' dies='1' cores='4' threads='2'/>
  50.   </cpu>
  51.   <clock offset='localtime'>
  52.     <timer name='rtc' tickpolicy='catchup'/>
  53.     <timer name='pit' tickpolicy='delay'/>
  54.     <timer name='hpet' present='no'/>
  55.     <timer name='hypervclock' present='yes'/>
  56.   </clock>
  57.   <on_poweroff>destroy</on_poweroff>
  58.   <on_reboot>restart</on_reboot>
  59.   <on_crash>destroy</on_crash>
  60.   <pm>
  61.     <suspend-to-mem enabled='no'/>
  62.     <suspend-to-disk enabled='no'/>
  63.   </pm>
  64.   <devices>
  65.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  66.     <disk type='file' device='disk'>
  67.       <driver name='qemu' type='qcow2' cache='writethrough' io='threads'/>
  68.       <source file='/var/lib/libvirt/images/win10.qcow2'/>
  69.       <target dev='vda' bus='virtio'/>
  70.       <address type='pci' domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
  71.     </disk>
  72.     <controller type='usb' index='0' model='qemu-xhci' ports='15'>
  73.       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  74.     </controller>
  75.     <controller type='sata' index='0'>
  76.       <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  77.     </controller>
  78.     <controller type='pci' index='0' model='pcie-root'/>
  79.     <controller type='pci' index='1' model='pcie-root-port'>
  80.       <model name='pcie-root-port'/>
  81.       <target chassis='1' port='0x8'/>
  82.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
  83.     </controller>
  84.     <controller type='pci' index='2' model='pcie-root-port'>
  85.       <model name='pcie-root-port'/>
  86.       <target chassis='2' port='0x9'/>
  87.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  88.     </controller>
  89.     <controller type='pci' index='3' model='pcie-root-port'>
  90.       <model name='pcie-root-port'/>
  91.       <target chassis='3' port='0xa'/>
  92.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  93.     </controller>
  94.     <controller type='pci' index='4' model='pcie-root-port'>
  95.       <model name='pcie-root-port'/>
  96.       <target chassis='4' port='0xb'/>
  97.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
  98.     </controller>
  99.     <controller type='pci' index='5' model='pcie-root-port'>
  100.       <model name='pcie-root-port'/>
  101.       <target chassis='5' port='0xc'/>
  102.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
  103.     </controller>
  104.     <controller type='pci' index='6' model='pcie-root-port'>
  105.       <model name='pcie-root-port'/>
  106.       <target chassis='6' port='0xd'/>
  107.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
  108.     </controller>
  109.     <controller type='pci' index='7' model='pcie-root-port'>
  110.       <model name='pcie-root-port'/>
  111.       <target chassis='7' port='0xe'/>
  112.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
  113.     </controller>
  114.     <controller type='pci' index='8' model='pcie-root-port'>
  115.       <model name='pcie-root-port'/>
  116.       <target chassis='8' port='0xf'/>
  117.       <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>
  118.     </controller>
  119.     <controller type='pci' index='9' model='pcie-root-port'>
  120.       <model name='pcie-root-port'/>
  121.       <target chassis='9' port='0x10'/>
  122.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
  123.     </controller>
  124.     <controller type='pci' index='10' model='pcie-root-port'>
  125.       <model name='pcie-root-port'/>
  126.       <target chassis='10' port='0x11'/>
  127.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
  128.     </controller>
  129.     <controller type='pci' index='11' model='pcie-root-port'>
  130.       <model name='pcie-root-port'/>
  131.       <target chassis='11' port='0x12'/>
  132.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
  133.     </controller>
  134.     <controller type='pci' index='12' model='pcie-to-pci-bridge'>
  135.       <model name='pcie-pci-bridge'/>
  136.       <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
  137.     </controller>
  138.     <controller type='pci' index='13' model='pcie-root-port'>
  139.       <model name='pcie-root-port'/>
  140.       <target chassis='13' port='0x13'/>
  141.       <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
  142.     </controller>
  143.     <interface type='direct'>
  144.       <mac address='52:54:00:5e:a9:0f'/>
  145.       <source dev='eno2' mode='passthrough'/>
  146.       <model type='virtio'/>
  147.       <link state='up'/>
  148.       <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  149.     </interface>
  150.     <interface type='network'>
  151.       <mac address='52:54:00:eb:a4:b5'/>
  152.       <source network='default'/>
  153.       <model type='virtio'/>
  154.       <address type='pci' domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
  155.     </interface>
  156.     <serial type='pty'>
  157.       <target type='isa-serial' port='0'>
  158.         <model name='isa-serial'/>
  159.       </target>
  160.     </serial>
  161.     <console type='pty'>
  162.       <target type='serial' port='0'/>
  163.     </console>
  164.     <input type='mouse' bus='ps2'/>
  165.     <input type='keyboard' bus='ps2'/>
  166.     <audio id='1' type='none'/>
  167.     <hostdev mode='subsystem' type='pci' managed='yes'>
  168.       <source>
  169.         <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  170.       </source>
  171.       <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
  172.     </hostdev>
  173.     <hostdev mode='subsystem' type='pci' managed='yes'>
  174.       <source>
  175.         <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
  176.       </source>
  177.       <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
  178.     </hostdev>
  179.     <hostdev mode='subsystem' type='pci' managed='yes'>
  180.       <source>
  181.         <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  182.       </source>
  183.       <boot order='1'/>
  184.       <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
  185.     </hostdev>
  186.     <hostdev mode='subsystem' type='pci' managed='yes'>
  187.       <source>
  188.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  189.       </source>
  190.       <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
  191.     </hostdev>
  192.     <hostdev mode='subsystem' type='pci' managed='yes'>
  193.       <source>
  194.         <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
  195.       </source>
  196.       <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
  197.     </hostdev>
  198.     <memballoon model='virtio'>
  199.       <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
  200.     </memballoon>
  201.   </devices>
  202.   <qemu:commandline>
  203.     <qemu:arg value='-device'/>
  204.     <qemu:arg value='ich9-intel-hda'/>
  205.     <qemu:arg value='-device'/>
  206.     <qemu:arg value='hda-duplex,audiodev=a0'/>
  207.     <qemu:arg value='-audiodev'/>
  208.     <qemu:arg value='jack,id=a0,in.client-name=Windows,out.client-name=Windows,out.start-server=on,in.start-server=on'/>
  209.   </qemu:commandline>
  210. </domain>
Advertisement
Add Comment
Please, Sign In to add comment