Guest User

kvm

a guest
Apr 4th, 2026
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.06 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>L11</name>
  3.   <uuid>b62e3bc5-13b6-458d-86e8-e8ebb72c8325</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">25165824</memory>
  10.   <currentMemory unit="KiB">25165824</currentMemory>
  11.   <memoryBacking>
  12.     <source type="memfd"/>
  13.     <access mode="shared"/>
  14.   </memoryBacking>
  15.   <vcpu placement="static">5</vcpu>
  16.   <os firmware="efi">
  17.     <type arch="x86_64" machine="pc-q35-10.2">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/L11_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.       <vpindex state="on"/>
  33.       <runtime state="on"/>
  34.       <synic state="on"/>
  35.       <stimer state="on"/>
  36.       <vendor_id state="on" value="randomid"/>
  37.       <frequencies state="on"/>
  38.       <tlbflush state="on"/>
  39.       <ipi state="on"/>
  40.       <avic state="on"/>
  41.     </hyperv>
  42.     <kvm>
  43.       <hidden state="on"/>
  44.     </kvm>
  45.     <vmport state="off"/>
  46.     <smm state="on"/>
  47.   </features>
  48.   <cpu mode="host-passthrough" check="none" migratable="on"/>
  49.   <clock offset="localtime">
  50.     <timer name="rtc" tickpolicy="catchup"/>
  51.     <timer name="pit" tickpolicy="delay"/>
  52.     <timer name="hpet" present="no"/>
  53.     <timer name="hypervclock" present="yes"/>
  54.   </clock>
  55.   <on_poweroff>destroy</on_poweroff>
  56.   <on_reboot>restart</on_reboot>
  57.   <on_crash>destroy</on_crash>
  58.   <pm>
  59.     <suspend-to-mem enabled="no"/>
  60.     <suspend-to-disk enabled="no"/>
  61.   </pm>
  62.   <devices>
  63.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  64.     <disk type="file" device="disk">
  65.       <driver name="qemu" type="qcow2"/>
  66.       <source file="/home/rik/L11.qcow2"/>
  67.       <target dev="vda" bus="virtio"/>
  68.       <boot order="1"/>
  69.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  70.     </disk>
  71.     <disk type="file" device="cdrom">
  72.       <driver name="qemu" type="raw"/>
  73.       <source file="/home/rik/Downloads/Win11_25H2_English_x64_v2.iso"/>
  74.       <target dev="sdb" bus="sata"/>
  75.       <readonly/>
  76.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  77.     </disk>
  78.     <disk type="file" device="cdrom">
  79.       <driver name="qemu" type="raw"/>
  80.       <source file="/home/rik/virtio-win.iso"/>
  81.       <target dev="sdc" bus="sata"/>
  82.       <readonly/>
  83.       <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  84.     </disk>
  85.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  86.       <address type="pci" domain="0x0000" bus="0x02" 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="0x03" slot="0x00" function="0x0"/>
  164.     </controller>
  165.     <interface type="network">
  166.       <mac address="52:54:00:6f:dd:a1"/>
  167.       <source network="default"/>
  168.       <model type="virtio"/>
  169.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  170.     </interface>
  171.     <serial type="pty">
  172.       <target type="isa-serial" port="0">
  173.         <model name="isa-serial"/>
  174.       </target>
  175.     </serial>
  176.     <console type="pty">
  177.       <target type="serial" port="0"/>
  178.     </console>
  179.     <channel type="spicevmc">
  180.       <target type="virtio" name="com.redhat.spice.0"/>
  181.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  182.     </channel>
  183.     <input type="tablet" bus="usb">
  184.       <address type="usb" bus="0" port="1"/>
  185.     </input>
  186.     <input type="mouse" bus="ps2"/>
  187.     <input type="keyboard" bus="ps2"/>
  188.     <tpm model="tpm-crb">
  189.       <backend type="emulator" version="2.0"/>
  190.     </tpm>
  191.     <graphics type="spice" autoport="yes">
  192.       <listen type="address"/>
  193.       <image compression="off"/>
  194.     </graphics>
  195.     <sound model="ich9">
  196.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  197.     </sound>
  198.     <audio id="1" type="spice"/>
  199.     <video>
  200.       <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  201.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  202.     </video>
  203.     <hostdev mode="subsystem" type="pci" managed="yes">
  204.       <source>
  205.         <address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  206.       </source>
  207.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  208.     </hostdev>
  209.     <hostdev mode="subsystem" type="pci" managed="yes">
  210.       <source>
  211.         <address domain="0x0000" bus="0x03" slot="0x00" function="0x1"/>
  212.       </source>
  213.       <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  214.     </hostdev>
  215.     <redirdev bus="usb" type="spicevmc">
  216.       <address type="usb" bus="0" port="2"/>
  217.     </redirdev>
  218.     <redirdev bus="usb" type="spicevmc">
  219.       <address type="usb" bus="0" port="3"/>
  220.     </redirdev>
  221.     <watchdog model="itco" action="reset"/>
  222.     <memballoon model="virtio">
  223.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  224.     </memballoon>
  225.   </devices>
  226. </domain>
  227.  
Advertisement
Add Comment
Please, Sign In to add comment