Advertisement
wprod

win11-nopassthrough

May 17th, 2025
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.35 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win11-nogpu</name>
  3.   <uuid>4f2a3a6b-572f-441c-9654-f2af30aca67c</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">16384000</memory>
  10.   <currentMemory unit="KiB">16384000</currentMemory>
  11.   <memoryBacking>
  12.     <source type="memfd"/>
  13.     <access mode="shared"/>
  14.   </memoryBacking>
  15.   <vcpu placement="static">8</vcpu>
  16.   <os firmware="efi">
  17.     <type arch="x86_64" machine="pc-q35-9.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/win11-nogpu_VARS.fd</nvram>
  24.     <boot dev="hd"/>
  25.     <bootmenu enable="no"/>
  26.     <smbios mode="host"/>
  27.   </os>
  28.   <features>
  29.     <acpi/>
  30.     <apic/>
  31.     <hyperv mode="custom">
  32.       <relaxed state="on"/>
  33.       <vapic state="on"/>
  34.       <spinlocks state="on" retries="8191"/>
  35.       <vpindex state="on"/>
  36.       <runtime state="on"/>
  37.       <synic state="on"/>
  38.       <stimer state="on"/>
  39.       <frequencies state="on"/>
  40.       <tlbflush state="on"/>
  41.       <ipi state="on"/>
  42.       <avic state="on"/>
  43.     </hyperv>
  44.     <vmport state="off"/>
  45.     <smm state="on"/>
  46.   </features>
  47.   <cpu mode="host-passthrough" check="none" migratable="on">
  48.     <topology sockets="1" dies="1" clusters="1" cores="8" threads="1"/>
  49.     <feature policy="disable" name="hypervisor"/>
  50.   </cpu>
  51.   <clock offset="localtime">
  52.     <timer name="rtc" tickpolicy="catchup"/>
  53.     <timer name="pit" tickpolicy="delay"/>
  54.     <timer name="hpet" present="no"/>
  55.     <timer name="hypervclock" present="yes"/>
  56.   </clock>
  57.   <on_poweroff>destroy</on_poweroff>
  58.   <on_reboot>restart</on_reboot>
  59.   <on_crash>destroy</on_crash>
  60.   <pm>
  61.     <suspend-to-mem enabled="no"/>
  62.     <suspend-to-disk enabled="no"/>
  63.   </pm>
  64.   <devices>
  65.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  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/nvme-GXF-1TB_PRO_0017480003329"/>
  69.       <target dev="vda" bus="virtio"/>
  70.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  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="pci" index="15" model="pcie-root-port">
  147.       <model name="pcie-root-port"/>
  148.       <target chassis="15" port="0x1e"/>
  149.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x6"/>
  150.     </controller>
  151.     <controller type="pci" index="16" model="pcie-to-pci-bridge">
  152.       <model name="pcie-pci-bridge"/>
  153.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  154.     </controller>
  155.     <controller type="sata" index="0">
  156.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  157.     </controller>
  158.     <controller type="virtio-serial" index="0">
  159.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  160.     </controller>
  161.     <controller type="scsi" index="0" model="virtio-scsi">
  162.       <address type="pci" domain="0x0000" bus="0x0b" slot="0x00" function="0x0"/>
  163.     </controller>
  164.     <interface type="network">
  165.       <mac address="52:54:00:9d:c3:cc"/>
  166.       <source network="default"/>
  167.       <model type="e1000e"/>
  168.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  169.     </interface>
  170.     <serial type="pty">
  171.       <target type="isa-serial" port="0">
  172.         <model name="isa-serial"/>
  173.       </target>
  174.     </serial>
  175.     <console type="pty">
  176.       <target type="serial" port="0"/>
  177.     </console>
  178.     <input type="tablet" bus="usb">
  179.       <address type="usb" bus="0" port="1"/>
  180.     </input>
  181.     <input type="mouse" bus="ps2"/>
  182.     <input type="keyboard" bus="ps2"/>
  183.     <input type="tablet" bus="usb">
  184.       <address type="usb" bus="0" port="2"/>
  185.     </input>
  186.     <tpm model="tpm-crb">
  187.       <backend type="emulator" version="2.0"/>
  188.     </tpm>
  189.     <graphics type="spice" port="-1" autoport="no">
  190.       <listen type="address"/>
  191.       <gl enable="no"/>
  192.     </graphics>
  193.     <audio id="1" type="none"/>
  194.     <video>
  195.       <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  196.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  197.     </video>
  198.     <watchdog model="itco" action="reset"/>
  199.     <memballoon model="virtio">
  200.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  201.     </memballoon>
  202.   </devices>
  203. </domain>
  204.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement