Guest User

Untitled

a guest
Oct 6th, 2021
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.95 KB | None | 0 0
  1. XML:
  2. <domain type="kvm">
  3.   <name>win11</name>
  4.   <uuid>183cb735-14a4-49ed-a14c-c2a1f234dcb5</uuid>
  5.   <metadata>
  6.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  7.       <libosinfo:os id="http://microsoft.com/win/10"/>
  8.     </libosinfo:libosinfo>
  9.   </metadata>
  10.   <memory unit="KiB">20971520</memory>
  11.   <currentMemory unit="KiB">20971520</currentMemory>
  12.   <vcpu placement="static">14</vcpu>
  13.   <os>
  14.     <type arch="x86_64" machine="pc-q35-6.1">hvm</type>
  15.     <loader readonly="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  16.     <nvram>/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
  17.     <boot dev="hd"/>
  18.   </os>
  19.   <features>
  20.     <acpi/>
  21.     <apic/>
  22.     <hyperv>
  23.       <relaxed state="on"/>
  24.       <vapic state="on"/>
  25.       <spinlocks state="on" retries="8191"/>
  26.       <vpindex state="on"/>
  27.       <runtime state="on"/>
  28.       <synic state="on"/>
  29.       <stimer state="on"/>
  30.       <reset state="on"/>
  31.       <vendor_id state="on" value="biom4st3r"/>
  32.       <frequencies state="on"/>
  33.     </hyperv>
  34.     <kvm>
  35.       <hidden state="on"/>
  36.     </kvm>
  37.     <vmport state="off"/>
  38.     <ioapic driver="kvm"/>
  39.   </features>
  40.   <cpu mode="host-model" check="partial">
  41.     <topology sockets="1" dies="1" cores="7" threads="2"/>
  42.   </cpu>
  43.   <clock offset="localtime">
  44.     <timer name="rtc" tickpolicy="catchup"/>
  45.     <timer name="pit" tickpolicy="delay"/>
  46.     <timer name="hpet" present="no"/>
  47.     <timer name="hypervclock" present="yes"/>
  48.   </clock>
  49.   <on_poweroff>destroy</on_poweroff>
  50.   <on_reboot>restart</on_reboot>
  51.   <on_crash>destroy</on_crash>
  52.   <pm>
  53.     <suspend-to-mem enabled="no"/>
  54.     <suspend-to-disk enabled="no"/>
  55.   </pm>
  56.   <devices>
  57.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  58.     <disk type="file" device="disk">
  59.       <driver name="qemu" type="qcow2"/>
  60.       <source file="/var/lib/libvirt/images/win11-clone.10_06_06OCT21"/>
  61.       <target dev="vda" bus="virtio"/>
  62.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  63.     </disk>
  64.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  65.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  66.     </controller>
  67.     <controller type="sata" index="0">
  68.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  69.     </controller>
  70.     <controller type="pci" index="0" model="pcie-root"/>
  71.     <controller type="pci" index="1" model="pcie-root-port">
  72.       <model name="pcie-root-port"/>
  73.       <target chassis="1" port="0x10"/>
  74.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  75.     </controller>
  76.     <controller type="pci" index="2" model="pcie-root-port">
  77.       <model name="pcie-root-port"/>
  78.       <target chassis="2" port="0x11"/>
  79.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  80.     </controller>
  81.     <controller type="pci" index="3" model="pcie-root-port">
  82.       <model name="pcie-root-port"/>
  83.       <target chassis="3" port="0x12"/>
  84.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  85.     </controller>
  86.     <controller type="pci" index="4" model="pcie-root-port">
  87.       <model name="pcie-root-port"/>
  88.       <target chassis="4" port="0x13"/>
  89.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  90.     </controller>
  91.     <controller type="pci" index="5" model="pcie-root-port">
  92.       <model name="pcie-root-port"/>
  93.       <target chassis="5" port="0x14"/>
  94.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  95.     </controller>
  96.     <controller type="pci" index="6" model="pcie-root-port">
  97.       <model name="pcie-root-port"/>
  98.       <target chassis="6" port="0x15"/>
  99.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  100.     </controller>
  101.     <controller type="pci" index="7" model="pcie-root-port">
  102.       <model name="pcie-root-port"/>
  103.       <target chassis="7" port="0x8"/>
  104.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  105.     </controller>
  106.     <controller type="pci" index="8" model="pcie-root-port">
  107.       <model name="pcie-root-port"/>
  108.       <target chassis="8" port="0x9"/>
  109.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  110.     </controller>
  111.     <controller type="pci" index="9" model="pcie-root-port">
  112.       <model name="pcie-root-port"/>
  113.       <target chassis="9" port="0xa"/>
  114.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  115.     </controller>
  116.     <controller type="pci" index="10" model="pcie-root-port">
  117.       <model name="pcie-root-port"/>
  118.       <target chassis="10" port="0xb"/>
  119.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x3"/>
  120.     </controller>
  121.     <controller type="pci" index="11" model="pcie-root-port">
  122.       <model name="pcie-root-port"/>
  123.       <target chassis="11" port="0xc"/>
  124.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x4"/>
  125.     </controller>
  126.     <controller type="virtio-serial" index="0">
  127.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  128.     </controller>
  129.     <interface type="network">
  130.       <mac address="52:54:00:bb:c1:8b"/>
  131.       <source network="default"/>
  132.       <model type="virtio"/>
  133.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  134.     </interface>
  135.     <serial type="pty">
  136.       <target type="isa-serial" port="0">
  137.         <model name="isa-serial"/>
  138.       </target>
  139.     </serial>
  140.     <console type="pty">
  141.       <target type="serial" port="0"/>
  142.     </console>
  143.     <channel type="spicevmc">
  144.       <target type="virtio" name="com.redhat.spice.0"/>
  145.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  146.     </channel>
  147.     <input type="tablet" bus="usb">
  148.       <address type="usb" bus="0" port="1"/>
  149.     </input>
  150.     <input type="mouse" bus="ps2"/>
  151.     <input type="keyboard" bus="ps2"/>
  152.     <tpm model="tpm-tis">
  153.       <backend type="emulator" version="2.0"/>
  154.     </tpm>
  155.     <audio id="1" type="spice"/>
  156.     <hostdev mode="subsystem" type="pci" managed="yes">
  157.       <source>
  158.         <address domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
  159.       </source>
  160.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  161.     </hostdev>
  162.     <hostdev mode="subsystem" type="pci" managed="yes">
  163.       <source>
  164.         <address domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
  165.       </source>
  166.       <rom file="/var/lib/libvirt/ZT-P10800C-10P_Zotac.1080.AMP_GP104_PATCHED.rom"/>
  167.       <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  168.     </hostdev>
  169.     <hostdev mode="subsystem" type="pci" managed="yes">
  170.       <source>
  171.         <address domain="0x0000" bus="0x0a" slot="0x00" function="0x1"/>
  172.       </source>
  173.       <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
  174.     </hostdev>
  175.     <hostdev mode="subsystem" type="usb" managed="yes">
  176.       <source>
  177.         <vendor id="0x0416"/>
  178.         <product id="0xb23c"/>
  179.       </source>
  180.       <address type="usb" bus="0" port="2"/>
  181.     </hostdev>
  182.     <hostdev mode="subsystem" type="usb" managed="yes">
  183.       <source>
  184.         <vendor id="0x8087"/>
  185.         <product id="0x0aa7"/>
  186.       </source>
  187.       <address type="usb" bus="0" port="3"/>
  188.     </hostdev>
  189.     <hostdev mode="subsystem" type="usb" managed="yes">
  190.       <source>
  191.         <vendor id="0x1b1c"/>
  192.         <product id="0x1b8b"/>
  193.       </source>
  194.       <address type="usb" bus="0" port="4"/>
  195.     </hostdev>
  196.     <hostdev mode="subsystem" type="usb" managed="yes">
  197.       <source>
  198.         <vendor id="0x045e"/>
  199.         <product id="0x0810"/>
  200.       </source>
  201.       <address type="usb" bus="0" port="5"/>
  202.     </hostdev>
  203.     <memballoon model="virtio">
  204.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  205.     </memballoon>
  206.   </devices>
  207. </domain>
  208.  
  209.  
Advertisement
Add Comment
Please, Sign In to add comment