Advertisement
Guest User

config

a guest
May 10th, 2025
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.87 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win11</name>
  3.   <uuid>188795e8-40e0-40b1-a4aa-817535b94533</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       <libosinfo:os id="http://microsoft.com/win/11"/>
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit="KiB">20480000</memory>
  10.   <currentMemory unit="KiB">20480000</currentMemory>
  11.   <memoryBacking>
  12.     <source type="memfd"/>
  13.     <access mode="shared"/>
  14.   </memoryBacking>
  15.   <vcpu placement="static" cpuset="0-9">8</vcpu>
  16.   <os firmware="efi">
  17.     <type arch="x86_64" machine="pc-q35-9.1">hvm</type>
  18.     <firmware>
  19.       <feature enabled="no" name="enrolled-keys"/>
  20.       <feature enabled="yes" name="secure-boot"/>
  21.     </firmware>
  22.     <loader readonly="yes" secure="yes" type="pflash" format="raw">/usr/share/edk2/x64/OVMF_CODE.secboot.4m.fd</loader>
  23.     <nvram template="/usr/share/edk2/x64/OVMF_VARS.4m.fd" templateFormat="raw" format="raw">/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
  24.   </os>
  25.   <features>
  26.     <acpi/>
  27.     <apic/>
  28.     <hyperv mode="custom">
  29.       <relaxed state="on"/>
  30.       <vapic state="on"/>
  31.       <spinlocks state="on" retries="8191"/>
  32.       <vendor_id state="on" value="whatever"/>
  33.     </hyperv>
  34.     <kvm>
  35.       <hidden state="on"/>
  36.     </kvm>
  37.     <vmport state="off"/>
  38.     <smm state="on"/>
  39.   </features>
  40.   <cpu mode="host-passthrough" check="none" migratable="on">
  41.     <topology sockets="1" dies="1" clusters="1" cores="4" threads="2"/>
  42.     <feature policy="disable" name="hypervisor"/>
  43.   </cpu>
  44.   <clock offset="localtime">
  45.     <timer name="rtc" tickpolicy="catchup"/>
  46.     <timer name="pit" tickpolicy="delay"/>
  47.     <timer name="hpet" present="no"/>
  48.     <timer name="hypervclock" present="yes"/>
  49.   </clock>
  50.   <on_poweroff>destroy</on_poweroff>
  51.   <on_reboot>restart</on_reboot>
  52.   <on_crash>destroy</on_crash>
  53.   <pm>
  54.     <suspend-to-mem enabled="no"/>
  55.     <suspend-to-disk enabled="no"/>
  56.   </pm>
  57.   <devices>
  58.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  59.     <disk type="file" device="cdrom">
  60.       <driver name="qemu" type="raw"/>
  61.       <target dev="sda" bus="sata"/>
  62.       <readonly/>
  63.       <boot order="1"/>
  64.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  65.     </disk>
  66.     <disk type="block" device="disk">
  67.       <driver name="qemu" type="raw" cache="none" io="native" discard="unmap"/>
  68.       <source dev="/dev/disk/by-id/ata-ST2000DM008-2UB102_ZK30J0HH"/>
  69.       <target dev="sdb" bus="sata"/>
  70.       <boot order="2"/>
  71.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  72.     </disk>
  73.     <disk type="block" device="disk">
  74.       <driver name="qemu" type="raw" cache="none" io="native" discard="unmap"/>
  75.       <source dev="/dev/disk/by-label/Games_m2"/>
  76.       <target dev="vda" bus="virtio"/>
  77.       <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  78.     </disk>
  79.     <disk type="block" device="disk">
  80.       <driver name="qemu" type="raw" cache="none" io="native" discard="unmap"/>
  81.       <source dev="/dev/disk/by-label/Oblivion"/>
  82.       <target dev="vdb" bus="virtio"/>
  83.       <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  84.     </disk>
  85.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  86.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  87.     </controller>
  88.     <controller type="pci" index="0" model="pcie-root"/>
  89.     <controller type="pci" index="1" model="pcie-root-port">
  90.       <model name="pcie-root-port"/>
  91.       <target chassis="1" port="0x10"/>
  92.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  93.     </controller>
  94.     <controller type="pci" index="2" model="pcie-root-port">
  95.       <model name="pcie-root-port"/>
  96.       <target chassis="2" port="0x11"/>
  97.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  98.     </controller>
  99.     <controller type="pci" index="3" model="pcie-root-port">
  100.       <model name="pcie-root-port"/>
  101.       <target chassis="3" port="0x12"/>
  102.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  103.     </controller>
  104.     <controller type="pci" index="4" model="pcie-root-port">
  105.       <model name="pcie-root-port"/>
  106.       <target chassis="4" port="0x13"/>
  107.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  108.     </controller>
  109.     <controller type="pci" index="5" model="pcie-root-port">
  110.       <model name="pcie-root-port"/>
  111.       <target chassis="5" port="0x14"/>
  112.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  113.     </controller>
  114.     <controller type="pci" index="6" model="pcie-root-port">
  115.       <model name="pcie-root-port"/>
  116.       <target chassis="6" port="0x15"/>
  117.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  118.     </controller>
  119.     <controller type="pci" index="7" model="pcie-root-port">
  120.       <model name="pcie-root-port"/>
  121.       <target chassis="7" port="0x16"/>
  122.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  123.     </controller>
  124.     <controller type="pci" index="8" model="pcie-root-port">
  125.       <model name="pcie-root-port"/>
  126.       <target chassis="8" port="0x17"/>
  127.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  128.     </controller>
  129.     <controller type="pci" index="9" model="pcie-root-port">
  130.       <model name="pcie-root-port"/>
  131.       <target chassis="9" port="0x18"/>
  132.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" 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="0x19"/>
  137.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" 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="0x1a"/>
  142.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  143.     </controller>
  144.     <controller type="pci" index="12" model="pcie-root-port">
  145.       <model name="pcie-root-port"/>
  146.       <target chassis="12" port="0x1b"/>
  147.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  148.     </controller>
  149.     <controller type="pci" index="13" model="pcie-root-port">
  150.       <model name="pcie-root-port"/>
  151.       <target chassis="13" port="0x1c"/>
  152.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  153.     </controller>
  154.     <controller type="pci" index="14" model="pcie-root-port">
  155.       <model name="pcie-root-port"/>
  156.       <target chassis="14" port="0x1d"/>
  157.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  158.     </controller>
  159.     <controller type="sata" index="0">
  160.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  161.     </controller>
  162.     <controller type="virtio-serial" index="0">
  163.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  164.     </controller>
  165.     <filesystem type="mount" accessmode="passthrough">
  166.       <driver type="virtiofs"/>
  167.       <source dir="/home/hacker47/Pictures/Screenshots"/>
  168.       <target dir="Games"/>
  169.       <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  170.     </filesystem>
  171.     <interface type="network">
  172.       <mac address="52:54:00:38:09:15"/>
  173.       <source network="default"/>
  174.       <model type="e1000e"/>
  175.       <link state="up"/>
  176.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  177.     </interface>
  178.     <input type="mouse" bus="ps2"/>
  179.     <input type="keyboard" bus="ps2"/>
  180.     <tpm model="tpm-crb">
  181.       <backend type="emulator" version="2.0"/>
  182.     </tpm>
  183.     <sound model="ich9">
  184.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  185.     </sound>
  186.     <audio id="1" type="none"/>
  187.     <hostdev mode="subsystem" type="pci" managed="yes">
  188.       <source>
  189.         <address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  190.       </source>
  191.       <rom bar="on"/>
  192.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  193.     </hostdev>
  194.     <hostdev mode="subsystem" type="pci" managed="yes">
  195.       <source>
  196.         <address domain="0x0000" bus="0x03" slot="0x00" function="0x1"/>
  197.       </source>
  198.       <rom bar="on"/>
  199.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  200.     </hostdev>
  201.     <hostdev mode="subsystem" type="usb" managed="yes">
  202.       <source>
  203.         <vendor id="0x045e"/>
  204.         <product id="0x0b12"/>
  205.       </source>
  206.       <address type="usb" bus="0" port="1"/>
  207.     </hostdev>
  208.     <watchdog model="itco" action="reset"/>
  209.     <memballoon model="virtio">
  210.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  211.     </memballoon>
  212.   </devices>
  213. </domain>
  214.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement