Guest User

WIN10 XML

a guest
Sep 16th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.47 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win10</name>
  3.   <uuid>5786f4b5-6db8-4083-ad10-3b0a0ed31da1</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">12582912</memory>
  10.   <currentMemory unit="KiB">12582912</currentMemory>
  11.   <memoryBacking>
  12.     <hugepages/>
  13.   </memoryBacking>
  14.   <vcpu placement="static">8</vcpu>
  15.   <iothreads>2</iothreads>
  16.   <cputune>
  17.     <vcpupin vcpu="0" cpuset="0"/>
  18.     <vcpupin vcpu="1" cpuset="6"/>
  19.     <vcpupin vcpu="2" cpuset="1"/>
  20.     <vcpupin vcpu="3" cpuset="7"/>
  21.     <vcpupin vcpu="4" cpuset="2"/>
  22.     <vcpupin vcpu="5" cpuset="8"/>
  23.     <vcpupin vcpu="6" cpuset="3"/>
  24.     <vcpupin vcpu="7" cpuset="9"/>
  25.     <emulatorpin cpuset="5-6"/>
  26.     <iothreadpin iothread="1" cpuset="4-10"/>
  27.     <iothreadpin iothread="2" cpuset="5-11"/>
  28.   </cputune>
  29.   <os>
  30.     <type arch="x86_64" machine="pc-q35-5.1">hvm</type>
  31.     <loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.secboot.fd</loader>
  32.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  33.   </os>
  34.   <features>
  35.     <acpi/>
  36.     <apic/>
  37.     <hyperv>
  38.       <relaxed state="on"/>
  39.       <vapic state="on"/>
  40.       <spinlocks state="on" retries="8191"/>
  41.       <vpindex state="on"/>
  42.       <synic state="on"/>
  43.       <stimer state="on"/>
  44.       <reset state="on"/>
  45.       <vendor_id state="on" value="Dell"/>
  46.       <frequencies state="on"/>
  47.     </hyperv>
  48.     <kvm>
  49.       <hidden state="on"/>
  50.     </kvm>
  51.     <vmport state="off"/>
  52.     <smm state="on"/>
  53.     <ioapic driver="kvm"/>
  54.   </features>
  55.   <cpu mode="host-passthrough" check="none" migratable="on">
  56.     <topology sockets="1" dies="1" cores="4" threads="2"/>
  57.     <cache mode="passthrough"/>
  58.     <feature policy="require" name="topoext"/>
  59.   </cpu>
  60.   <clock offset="localtime">
  61.     <timer name="rtc" tickpolicy="catchup"/>
  62.     <timer name="pit" tickpolicy="delay"/>
  63.     <timer name="hpet" present="no"/>
  64.     <timer name="hypervclock" present="yes"/>
  65.   </clock>
  66.   <on_poweroff>destroy</on_poweroff>
  67.   <on_reboot>restart</on_reboot>
  68.   <on_crash>destroy</on_crash>
  69.   <pm>
  70.     <suspend-to-mem enabled="no"/>
  71.     <suspend-to-disk enabled="no"/>
  72.   </pm>
  73.   <devices>
  74.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  75.     <disk type="file" device="cdrom">
  76.       <driver name="qemu" type="raw"/>
  77.       <source file="/media/hdwin/Isos/Win10_2004_EnglishInternational_x64.iso"/>
  78.       <target dev="sda" bus="sata"/>
  79.       <readonly/>
  80.       <boot order="1"/>
  81.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  82.     </disk>
  83.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  84.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  85.     </controller>
  86.     <controller type="sata" index="0">
  87.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  88.     </controller>
  89.     <controller type="pci" index="0" model="pcie-root"/>
  90.     <controller type="pci" index="1" model="pcie-root-port">
  91.       <model name="pcie-root-port"/>
  92.       <target chassis="1" port="0x10"/>
  93.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  94.     </controller>
  95.     <controller type="pci" index="2" model="pcie-root-port">
  96.       <model name="pcie-root-port"/>
  97.       <target chassis="2" port="0x11"/>
  98.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  99.     </controller>
  100.     <controller type="pci" index="3" model="pcie-root-port">
  101.       <model name="pcie-root-port"/>
  102.       <target chassis="3" port="0x12"/>
  103.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  104.     </controller>
  105.     <controller type="pci" index="4" model="pcie-root-port">
  106.       <model name="pcie-root-port"/>
  107.       <target chassis="4" port="0x13"/>
  108.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  109.     </controller>
  110.     <controller type="pci" index="5" model="pcie-root-port">
  111.       <model name="pcie-root-port"/>
  112.       <target chassis="5" port="0x14"/>
  113.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  114.     </controller>
  115.     <controller type="pci" index="6" model="pcie-root-port">
  116.       <model name="pcie-root-port"/>
  117.       <target chassis="6" port="0x15"/>
  118.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  119.     </controller>
  120.     <controller type="pci" index="7" model="pcie-root-port">
  121.       <model name="pcie-root-port"/>
  122.       <target chassis="7" port="0x16"/>
  123.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  124.     </controller>
  125.     <controller type="pci" index="8" model="pcie-to-pci-bridge">
  126.       <model name="pcie-pci-bridge"/>
  127.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  128.     </controller>
  129.     <controller type="pci" index="9" model="pcie-root-port">
  130.       <model name="pcie-root-port"/>
  131.       <target chassis="9" port="0x8"/>
  132.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  133.     </controller>
  134.     <controller type="pci" index="10" model="pcie-root-port">
  135.       <model name="pcie-root-port"/>
  136.       <target chassis="10" port="0x9"/>
  137.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  138.     </controller>
  139.     <controller type="pci" index="11" model="pcie-root-port">
  140.       <model name="pcie-root-port"/>
  141.       <target chassis="11" port="0xa"/>
  142.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  143.     </controller>
  144.     <interface type="direct">
  145.       <mac address="52:54:00:6b:92:79"/>
  146.       <source dev="wlp7s0" mode="bridge"/>
  147.       <model type="virtio"/>
  148.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  149.     </interface>
  150.     <serial type="pty">
  151.       <target type="isa-serial" port="0">
  152.         <model name="isa-serial"/>
  153.       </target>
  154.     </serial>
  155.     <console type="pty">
  156.       <target type="serial" port="0"/>
  157.     </console>
  158.     <input type="mouse" bus="ps2"/>
  159.     <input type="keyboard" bus="ps2"/>
  160.     <sound model="ich9">
  161.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  162.     </sound>
  163.     <hostdev mode="subsystem" type="pci" managed="yes">
  164.       <source>
  165.         <address domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  166.       </source>
  167.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  168.     </hostdev>
  169.     <hostdev mode="subsystem" type="pci" managed="yes">
  170.       <source>
  171.         <address domain="0x0000" bus="0x08" slot="0x00" function="0x1"/>
  172.       </source>
  173.       <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  174.     </hostdev>
  175.     <hostdev mode="subsystem" type="pci" managed="yes">
  176.       <source>
  177.         <address domain="0x0000" bus="0x08" slot="0x00" function="0x2"/>
  178.       </source>
  179.       <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  180.     </hostdev>
  181.     <hostdev mode="subsystem" type="pci" managed="yes">
  182.       <source>
  183.         <address domain="0x0000" bus="0x08" slot="0x00" function="0x3"/>
  184.       </source>
  185.       <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
  186.     </hostdev>
  187.     <memballoon model="virtio">
  188.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  189.     </memballoon>
  190.   </devices>
  191. </domain>
  192.  
Add Comment
Please, Sign In to add comment