Advertisement
Querzion

CPU XML

Nov 23rd, 2022
1,124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.96 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win10</name>
  3.   <uuid>8b64c4c0-3968-49e5-bf5c-cd6282d86d1f</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">1048576</currentMemory>
  11.   <vcpu placement="static">8</vcpu>
  12.   <os>
  13.     <type arch="x86_64" machine="pc-q35-7.1">hvm</type>
  14.     <loader readonly="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  15.     <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  16.     <bootmenu enable="no"/>
  17.   </os>
  18.   <features>
  19.     <acpi/>
  20.     <apic/>
  21.     <hyperv mode="custom">
  22.       <relaxed state="on"/>
  23.       <vapic state="on"/>
  24.       <spinlocks state="on" retries="8191"/>
  25.       <vpindex state="on"/>
  26.       <runtime state="on"/>
  27.       <synic state="on"/>
  28.       <stimer state="on"/>
  29.       <reset state="on"/>
  30.     </hyperv>
  31.     <vmport state="off"/>
  32.   </features>
  33.   <cpu mode="host-passthrough" check="none" migratable="on">
  34.     <topology sockets="1" dies="1" cores="4" threads="2"/>
  35.   </cpu>
  36.   <clock offset="localtime">
  37.     <timer name="hpet" present="yes"/>
  38.     <timer name="hypervclock" present="yes"/>
  39.   </clock>
  40.   <on_poweroff>destroy</on_poweroff>
  41.   <on_reboot>restart</on_reboot>
  42.   <on_crash>destroy</on_crash>
  43.   <pm>
  44.     <suspend-to-mem enabled="no"/>
  45.     <suspend-to-disk enabled="no"/>
  46.   </pm>
  47.   <devices>
  48.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  49.     <disk type="file" device="disk">
  50.       <driver name="qemu" type="qcow2" discard="unmap"/>
  51.       <source file="/var/lib/libvirt/images/win10.qcow2"/>
  52.       <target dev="vda" bus="virtio"/>
  53.       <boot order="2"/>
  54.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  55.     </disk>
  56.     <disk type="file" device="cdrom">
  57.       <driver name="qemu" type="raw"/>
  58.       <source file="/var/lib/libvirt/images/Windows 10 Pro 21H2 x64 Debloated.iso"/>
  59.       <target dev="sdb" bus="sata"/>
  60.       <readonly/>
  61.       <boot order="1"/>
  62.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  63.     </disk>
  64.     <disk type="file" device="cdrom">
  65.       <driver name="qemu" type="raw"/>
  66.       <source file="/var/lib/libvirt/images/virtio-win-0.1.225.iso"/>
  67.       <target dev="sdc" bus="sata"/>
  68.       <readonly/>
  69.       <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  70.     </disk>
  71.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  72.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  73.     </controller>
  74.     <controller type="pci" index="0" model="pcie-root"/>
  75.     <controller type="pci" index="1" model="pcie-root-port">
  76.       <model name="pcie-root-port"/>
  77.       <target chassis="1" port="0x10"/>
  78.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  79.     </controller>
  80.     <controller type="pci" index="2" model="pcie-root-port">
  81.       <model name="pcie-root-port"/>
  82.       <target chassis="2" port="0x11"/>
  83.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  84.     </controller>
  85.     <controller type="pci" index="3" model="pcie-root-port">
  86.       <model name="pcie-root-port"/>
  87.       <target chassis="3" port="0x12"/>
  88.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  89.     </controller>
  90.     <controller type="pci" index="4" model="pcie-root-port">
  91.       <model name="pcie-root-port"/>
  92.       <target chassis="4" port="0x13"/>
  93.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  94.     </controller>
  95.     <controller type="pci" index="5" model="pcie-root-port">
  96.       <model name="pcie-root-port"/>
  97.       <target chassis="5" port="0x14"/>
  98.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  99.     </controller>
  100.     <controller type="pci" index="6" model="pcie-root-port">
  101.       <model name="pcie-root-port"/>
  102.       <target chassis="6" port="0x15"/>
  103.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  104.     </controller>
  105.     <controller type="pci" index="7" model="pcie-root-port">
  106.       <model name="pcie-root-port"/>
  107.       <target chassis="7" port="0x16"/>
  108.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  109.     </controller>
  110.     <controller type="pci" index="8" model="pcie-root-port">
  111.       <model name="pcie-root-port"/>
  112.       <target chassis="8" port="0x17"/>
  113.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  114.     </controller>
  115.     <controller type="pci" index="9" model="pcie-root-port">
  116.       <model name="pcie-root-port"/>
  117.       <target chassis="9" port="0x18"/>
  118.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  119.     </controller>
  120.     <controller type="pci" index="10" model="pcie-root-port">
  121.       <model name="pcie-root-port"/>
  122.       <target chassis="10" port="0x19"/>
  123.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  124.     </controller>
  125.     <controller type="pci" index="11" model="pcie-root-port">
  126.       <model name="pcie-root-port"/>
  127.       <target chassis="11" port="0x1a"/>
  128.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  129.     </controller>
  130.     <controller type="pci" index="12" model="pcie-root-port">
  131.       <model name="pcie-root-port"/>
  132.       <target chassis="12" port="0x1b"/>
  133.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  134.     </controller>
  135.     <controller type="pci" index="13" model="pcie-root-port">
  136.       <model name="pcie-root-port"/>
  137.       <target chassis="13" port="0x1c"/>
  138.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  139.     </controller>
  140.     <controller type="pci" index="14" model="pcie-root-port">
  141.       <model name="pcie-root-port"/>
  142.       <target chassis="14" port="0x1d"/>
  143.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  144.     </controller>
  145.     <controller type="sata" index="0">
  146.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  147.     </controller>
  148.     <controller type="virtio-serial" index="0">
  149.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  150.     </controller>
  151.     <interface type="network">
  152.       <mac address="52:54:00:1b:cc:74"/>
  153.       <source network="default"/>
  154.       <model type="virtio"/>
  155.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  156.     </interface>
  157.     <serial type="pty">
  158.       <target type="isa-serial" port="0">
  159.         <model name="isa-serial"/>
  160.       </target>
  161.     </serial>
  162.     <console type="pty">
  163.       <target type="serial" port="0"/>
  164.     </console>
  165.     <channel type="spicevmc">
  166.       <target type="virtio" name="com.redhat.spice.0"/>
  167.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  168.     </channel>
  169.     <input type="tablet" bus="usb">
  170.       <address type="usb" bus="0" port="1"/>
  171.     </input>
  172.     <input type="mouse" bus="ps2"/>
  173.     <input type="keyboard" bus="ps2"/>
  174.     <graphics type="spice" autoport="yes">
  175.       <listen type="address"/>
  176.       <image compression="off"/>
  177.     </graphics>
  178.     <sound model="ich9">
  179.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  180.     </sound>
  181.     <audio id="1" type="spice"/>
  182.     <video>
  183.       <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  184.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  185.     </video>
  186.     <redirdev bus="usb" type="spicevmc">
  187.       <address type="usb" bus="0" port="2"/>
  188.     </redirdev>
  189.     <redirdev bus="usb" type="spicevmc">
  190.       <address type="usb" bus="0" port="3"/>
  191.     </redirdev>
  192.     <memballoon model="virtio">
  193.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  194.     </memballoon>
  195.   </devices>
  196. </domain>
  197.  
Tags: CPU XML
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement