Guest User

Win11Vm Arch paste

a guest
Mar 22nd, 2025
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.68 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win11-2</name>
  3.   <uuid>a54fe2cb-ce99-4636-8d8c-c335e42bf442</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">10493952</memory>
  10.   <currentMemory unit="KiB">10493952</currentMemory>
  11.   <vcpu placement="static">16</vcpu>
  12.   <os firmware="efi">
  13.     <type arch="x86_64" machine="pc-q35-9.2">hvm</type>
  14.     <firmware>
  15.       <feature enabled="no" name="enrolled-keys"/>
  16.       <feature enabled="yes" name="secure-boot"/>
  17.     </firmware>
  18.     <loader readonly="yes" secure="yes" type="pflash" format="raw">/usr/share/edk2/x64/OVMF_CODE.secboot.4m.fd</loader>
  19.     <nvram template="/usr/share/edk2/x64/OVMF_VARS.4m.fd" templateFormat="raw" format="raw">/var/lib/libvirt/qemu/nvram/win11-2_VARS.fd</nvram>
  20.     <boot dev="hd"/>
  21.   </os>
  22.   <features>
  23.     <acpi/>
  24.     <apic/>
  25.     <hyperv mode="custom">
  26.       <relaxed state="on"/>
  27.       <vapic state="on"/>
  28.       <spinlocks state="on" retries="8191"/>
  29.       <vpindex state="on"/>
  30.       <runtime state="on"/>
  31.       <synic state="on"/>
  32.       <stimer state="on"/>
  33.       <frequencies state="on"/>
  34.       <tlbflush state="on"/>
  35.       <ipi state="on"/>
  36.       <avic state="on"/>
  37.     </hyperv>
  38.     <vmport state="off"/>
  39.     <smm state="on"/>
  40.   </features>
  41.   <cpu mode="host-passthrough" check="none" migratable="on">
  42.     <topology sockets="1" dies="1" clusters="1" cores="4" threads="4"/>
  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="disk">
  60.       <driver name="qemu" type="qcow2"/>
  61.       <source file="/home/enrique/VMs/win11.qcow2"/>
  62.       <target dev="sda" bus="sata"/>
  63.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  64.     </disk>
  65.     <disk type="file" device="cdrom">
  66.       <driver name="qemu" type="raw"/>
  67.       <source file="/home/enrique/Downloads/virtio-win-0.1.266.iso"/>
  68.       <target dev="sdb" bus="sata"/>
  69.       <readonly/>
  70.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  71.     </disk>
  72.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  73.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  74.     </controller>
  75.     <controller type="pci" index="0" model="pcie-root"/>
  76.     <controller type="pci" index="1" model="pcie-root-port">
  77.       <model name="pcie-root-port"/>
  78.       <target chassis="1" port="0x10"/>
  79.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  80.     </controller>
  81.     <controller type="pci" index="2" model="pcie-root-port">
  82.       <model name="pcie-root-port"/>
  83.       <target chassis="2" port="0x11"/>
  84.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  85.     </controller>
  86.     <controller type="pci" index="3" model="pcie-root-port">
  87.       <model name="pcie-root-port"/>
  88.       <target chassis="3" port="0x12"/>
  89.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  90.     </controller>
  91.     <controller type="pci" index="4" model="pcie-root-port">
  92.       <model name="pcie-root-port"/>
  93.       <target chassis="4" port="0x13"/>
  94.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  95.     </controller>
  96.     <controller type="pci" index="5" model="pcie-root-port">
  97.       <model name="pcie-root-port"/>
  98.       <target chassis="5" port="0x14"/>
  99.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  100.     </controller>
  101.     <controller type="pci" index="6" model="pcie-root-port">
  102.       <model name="pcie-root-port"/>
  103.       <target chassis="6" port="0x15"/>
  104.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  105.     </controller>
  106.     <controller type="pci" index="7" model="pcie-root-port">
  107.       <model name="pcie-root-port"/>
  108.       <target chassis="7" port="0x16"/>
  109.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  110.     </controller>
  111.     <controller type="pci" index="8" model="pcie-root-port">
  112.       <model name="pcie-root-port"/>
  113.       <target chassis="8" port="0x17"/>
  114.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  115.     </controller>
  116.     <controller type="pci" index="9" model="pcie-root-port">
  117.       <model name="pcie-root-port"/>
  118.       <target chassis="9" port="0x18"/>
  119.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  120.     </controller>
  121.     <controller type="pci" index="10" model="pcie-root-port">
  122.       <model name="pcie-root-port"/>
  123.       <target chassis="10" port="0x19"/>
  124.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  125.     </controller>
  126.     <controller type="pci" index="11" model="pcie-root-port">
  127.       <model name="pcie-root-port"/>
  128.       <target chassis="11" port="0x1a"/>
  129.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  130.     </controller>
  131.     <controller type="pci" index="12" model="pcie-root-port">
  132.       <model name="pcie-root-port"/>
  133.       <target chassis="12" port="0x1b"/>
  134.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  135.     </controller>
  136.     <controller type="pci" index="13" model="pcie-root-port">
  137.       <model name="pcie-root-port"/>
  138.       <target chassis="13" port="0x1c"/>
  139.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  140.     </controller>
  141.     <controller type="pci" index="14" model="pcie-root-port">
  142.       <model name="pcie-root-port"/>
  143.       <target chassis="14" port="0x1d"/>
  144.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  145.     </controller>
  146.     <controller type="sata" index="0">
  147.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  148.     </controller>
  149.     <controller type="virtio-serial" index="0">
  150.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  151.     </controller>
  152.     <interface type="network">
  153.       <mac address="52:54:00:f8:b3:45"/>
  154.       <source network="default"/>
  155.       <model type="e1000e"/>
  156.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  157.     </interface>
  158.     <serial type="pty">
  159.       <target type="isa-serial" port="0">
  160.         <model name="isa-serial"/>
  161.       </target>
  162.     </serial>
  163.     <console type="pty">
  164.       <target type="serial" port="0"/>
  165.     </console>
  166.     <channel type="spicevmc">
  167.       <target type="virtio" name="com.redhat.spice.0"/>
  168.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  169.     </channel>
  170.     <input type="tablet" bus="usb">
  171.       <address type="usb" bus="0" port="1"/>
  172.     </input>
  173.     <input type="mouse" bus="ps2"/>
  174.     <input type="keyboard" bus="ps2"/>
  175.     <tpm model="tpm-crb">
  176.       <backend type="emulator" version="2.0"/>
  177.     </tpm>
  178.     <graphics type="spice" autoport="yes">
  179.       <listen type="address"/>
  180.       <image compression="off"/>
  181.     </graphics>
  182.     <sound model="ich9">
  183.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  184.     </sound>
  185.     <audio id="1" type="spice"/>
  186.     <video>
  187.       <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  188.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  189.     </video>
  190.     <hostdev mode="subsystem" type="pci" managed="yes">
  191.       <source>
  192.         <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  193.       </source>
  194.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  195.     </hostdev>
  196.     <hostdev mode="subsystem" type="pci" managed="yes">
  197.       <source>
  198.         <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  199.       </source>
  200.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  201.     </hostdev>
  202.     <redirdev bus="usb" type="spicevmc">
  203.       <address type="usb" bus="0" port="2"/>
  204.     </redirdev>
  205.     <redirdev bus="usb" type="spicevmc">
  206.       <address type="usb" bus="0" port="3"/>
  207.     </redirdev>
  208.     <watchdog model="itco" action="reset"/>
  209.     <memballoon model="virtio">
  210.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  211.     </memballoon>
  212.   </devices>
  213. </domain>
  214.  
Advertisement
Add Comment
Please, Sign In to add comment