Advertisement
Guest User

Untitled

a guest
Feb 25th, 2021
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.56 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win10</name>
  3.   <uuid>5c8f01ee-c937-4444-b652-05929de9bac9</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">16384000</memory>
  10.   <currentMemory unit="KiB">16384000</currentMemory>
  11.   <vcpu placement="static">8</vcpu>
  12.   <iothreads>1</iothreads>
  13.   <cputune>
  14.     <vcpupin vcpu="0" cpuset="4"/>
  15.     <vcpupin vcpu="1" cpuset="12"/>
  16.     <vcpupin vcpu="2" cpuset="5"/>
  17.     <vcpupin vcpu="3" cpuset="13"/>
  18.     <vcpupin vcpu="4" cpuset="6"/>
  19.     <vcpupin vcpu="5" cpuset="14"/>
  20.     <vcpupin vcpu="6" cpuset="7"/>
  21.     <vcpupin vcpu="7" cpuset="15"/>
  22.     <emulatorpin cpuset="3,11"/>
  23.     <iothreadpin iothread="1" cpuset="3,11"/>
  24.   </cputune>
  25.   <os>
  26.     <type arch="x86_64" machine="pc-q35-5.2">hvm</type>
  27.     <loader readonly="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  28.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  29.   </os>
  30.   <features>
  31.     <acpi/>
  32.     <apic/>
  33.     <hyperv>
  34.       <relaxed state="on"/>
  35.       <vapic state="on"/>
  36.       <spinlocks state="on" retries="8191"/>
  37.       <vendor_id state="on" value="randomid"/>
  38.     </hyperv>
  39.     <vmport state="off"/>
  40.     <ioapic driver="kvm"/>
  41.   </features>
  42.   <cpu mode="custom" match="exact" check="partial">
  43.     <model fallback="allow">EPYC</model>
  44.     <topology sockets="1" dies="1" cores="4" threads="2"/>
  45.     <feature policy="require" name="topoext"/>
  46.     <feature policy="require" name="svm"/>
  47.     <feature policy="require" name="apic"/>
  48.     <feature policy="require" name="hypervisor"/>
  49.     <feature policy="require" name="invtsc"/>
  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="cdrom">
  67.       <driver name="qemu" type="raw"/>
  68.       <source file="/home/bilal/Downloads/Win10_20H2_v2_English_x64.iso"/>
  69.       <target dev="sdc" bus="sata"/>
  70.       <readonly/>
  71.       <boot order="1"/>
  72.       <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  73.     </disk>
  74.     <disk type="file" device="cdrom">
  75.       <driver name="qemu" type="raw"/>
  76.       <source file="/home/bilal/Downloads/virtio.iso"/>
  77.       <target dev="sdd" bus="sata"/>
  78.       <readonly/>
  79.       <boot order="2"/>
  80.       <address type="drive" controller="0" bus="0" target="0" unit="3"/>
  81.     </disk>
  82.     <disk type="file" device="disk">
  83.       <driver name="qemu" type="qcow2"/>
  84.       <source file="/mnt/91ad0c0e-4241-4857-a016-59e1a268431e/vol.qcow2"/>
  85.       <target dev="vda" bus="virtio"/>
  86.       <boot order="3"/>
  87.       <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  88.     </disk>
  89.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  90.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  91.     </controller>
  92.     <controller type="sata" index="0">
  93.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  94.     </controller>
  95.     <controller type="pci" index="0" model="pcie-root"/>
  96.     <controller type="pci" index="1" model="pcie-root-port">
  97.       <model name="pcie-root-port"/>
  98.       <target chassis="1" port="0x8"/>
  99.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  100.     </controller>
  101.     <controller type="pci" index="2" model="pcie-root-port">
  102.       <model name="pcie-root-port"/>
  103.       <target chassis="2" port="0x9"/>
  104.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  105.     </controller>
  106.     <controller type="pci" index="3" model="pcie-root-port">
  107.       <model name="pcie-root-port"/>
  108.       <target chassis="3" port="0xa"/>
  109.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" 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="0xb"/>
  114.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x3"/>
  115.     </controller>
  116.     <controller type="pci" index="5" model="pcie-root-port">
  117.       <model name="pcie-root-port"/>
  118.       <target chassis="5" port="0xc"/>
  119.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x4"/>
  120.     </controller>
  121.     <controller type="pci" index="6" model="pcie-root-port">
  122.       <model name="pcie-root-port"/>
  123.       <target chassis="6" port="0xd"/>
  124.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x5"/>
  125.     </controller>
  126.     <controller type="pci" index="7" model="pcie-root-port">
  127.       <model name="pcie-root-port"/>
  128.       <target chassis="7" port="0xe"/>
  129.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x6"/>
  130.     </controller>
  131.     <controller type="pci" index="8" model="pcie-root-port">
  132.       <model name="pcie-root-port"/>
  133.       <target chassis="8" port="0xf"/>
  134.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x7"/>
  135.     </controller>
  136.     <controller type="pci" index="9" model="pcie-to-pci-bridge">
  137.       <model name="pcie-pci-bridge"/>
  138.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  139.     </controller>
  140.     <controller type="scsi" index="0" model="lsilogic">
  141.       <address type="pci" domain="0x0000" bus="0x09" slot="0x01" function="0x0"/>
  142.     </controller>
  143.     <interface type="network">
  144.       <mac address="52:54:00:82:cb:6b"/>
  145.       <source network="default"/>
  146.       <model type="e1000e"/>
  147.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  148.     </interface>
  149.     <input type="mouse" bus="ps2"/>
  150.     <input type="keyboard" bus="ps2"/>
  151.     <hostdev mode="subsystem" type="pci" managed="yes">
  152.       <source>
  153.         <address domain="0x0000" bus="0x0d" slot="0x00" function="0x0"/>
  154.       </source>
  155.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  156.     </hostdev>
  157.     <hostdev mode="subsystem" type="pci" managed="yes">
  158.       <source>
  159.         <address domain="0x0000" bus="0x0d" slot="0x00" function="0x1"/>
  160.       </source>
  161.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  162.     </hostdev>
  163.     <hostdev mode="subsystem" type="usb" managed="yes">
  164.       <source>
  165.         <vendor id="0x1bcf"/>
  166.         <product id="0x08a0"/>
  167.       </source>
  168.       <address type="usb" bus="0" port="1"/>
  169.     </hostdev>
  170.     <hostdev mode="subsystem" type="usb" managed="yes">
  171.       <source>
  172.         <vendor id="0x0c45"/>
  173.         <product id="0x7697"/>
  174.       </source>
  175.       <address type="usb" bus="0" port="2"/>
  176.     </hostdev>
  177.     <hostdev mode="subsystem" type="usb" managed="yes">
  178.       <source>
  179.         <vendor id="0x2f24"/>
  180.         <product id="0x00ba"/>
  181.       </source>
  182.       <address type="usb" bus="0" port="3"/>
  183.     </hostdev>
  184.     <redirdev bus="usb" type="spicevmc">
  185.       <address type="usb" bus="0" port="4"/>
  186.     </redirdev>
  187.     <redirdev bus="usb" type="spicevmc">
  188.       <address type="usb" bus="0" port="5"/>
  189.     </redirdev>
  190.     <memballoon model="virtio">
  191.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  192.     </memballoon>
  193.   </devices>
  194. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement