Guest User

here.xml

a guest
Nov 19th, 2024
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.02 KB | Source Code | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2.   <name>win11</name>
  3.   <uuid>2e45ee31-f210-4690-a975-287cebeacd0f</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">8388608</memory>
  10.   <currentMemory unit="KiB">8388608</currentMemory>
  11.   <memoryBacking>
  12.     <source type="memfd"/>
  13.     <access mode="shared"/>
  14.   </memoryBacking>
  15.   <vcpu placement="static">10</vcpu>
  16.   <iothreads>1</iothreads>
  17.   <cputune>
  18.     <vcpupin vcpu="0" cpuset="0"/>
  19.     <vcpupin vcpu="1" cpuset="2"/>
  20.     <vcpupin vcpu="2" cpuset="4"/>
  21.     <vcpupin vcpu="3" cpuset="6"/>
  22.     <vcpupin vcpu="4" cpuset="8"/>
  23.     <vcpupin vcpu="5" cpuset="1"/>
  24.     <vcpupin vcpu="6" cpuset="3"/>
  25.     <vcpupin vcpu="7" cpuset="5"/>
  26.     <vcpupin vcpu="8" cpuset="7"/>
  27.     <vcpupin vcpu="9" cpuset="9"/>
  28.     <emulatorpin cpuset="10-11"/>
  29.     <iothreadpin iothread="1" cpuset="10-11"/>
  30.   </cputune>
  31.   <sysinfo type="smbios">
  32.     <bios>
  33.       <entry name="vendor">LENOVO</entry>
  34.       <entry name="version">EUCN16WW</entry>
  35.       <entry name="date">03/13/2020</entry>
  36.     </bios>
  37.     <system>
  38.       <entry name="manufacturer">LENOVO.</entry>
  39.       <entry name="product">B2B5</entry>
  40.       <entry name="version">Lenovo Legion 5 15ARH05</entry>
  41.       <entry name="serial">PF28WV5Z</entry>
  42.       <entry name="uuid">2e45ee31-f210-4690-a975-287cebeacd0f</entry>
  43.       <entry name="sku">LENOVO_MT_82B5_BU_idea_FM_Legion 5 15ARH05</entry>
  44.       <entry name="family">Legion 5 15ARH05</entry>
  45.     </system>
  46.   </sysinfo>
  47.   <os firmware="efi">
  48.     <type arch="x86_64" machine="pc-q35-9.0">hvm</type>
  49.     <firmware>
  50.       <feature enabled="no" name="enrolled-keys"/>
  51.       <feature enabled="yes" name="secure-boot"/>
  52.     </firmware>
  53.     <loader readonly="yes" secure="yes" type="pflash">/usr/share/edk2/x64/OVMF_CODE.secboot.fd</loader>
  54.     <nvram template="/usr/share/edk2/x64/OVMF_VARS.fd">/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
  55.     <smbios mode="sysinfo"/>
  56.   </os>
  57.   <features>
  58.     <acpi/>
  59.     <apic/>
  60.     <hyperv mode="custom">
  61.       <relaxed state="on"/>
  62.       <vapic state="on"/>
  63.       <spinlocks state="on" retries="8191"/>
  64.       <vpindex state="on"/>
  65.       <synic state="on"/>
  66.       <stimer state="on"/>
  67.       <reset state="on"/>
  68.     </hyperv>
  69.     <kvm>
  70.       <hidden state="on"/>
  71.     </kvm>
  72.     <vmport state="off"/>
  73.     <smm state="on"/>
  74.   </features>
  75.   <cpu mode="host-passthrough" check="none" migratable="on">
  76.     <topology sockets="1" dies="1" clusters="1" cores="5" threads="2"/>
  77.   </cpu>
  78.   <clock offset="localtime">
  79.     <timer name="rtc" tickpolicy="catchup"/>
  80.     <timer name="pit" tickpolicy="delay"/>
  81.     <timer name="hpet" present="no"/>
  82.     <timer name="hypervclock" present="yes"/>
  83.   </clock>
  84.   <on_poweroff>destroy</on_poweroff>
  85.   <on_reboot>restart</on_reboot>
  86.   <on_crash>destroy</on_crash>
  87.   <pm>
  88.     <suspend-to-mem enabled="no"/>
  89.     <suspend-to-disk enabled="no"/>
  90.   </pm>
  91.   <devices>
  92.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  93.     <disk type="file" device="disk">
  94.       <driver name="qemu" type="raw" cache="none" discard="unmap"/>
  95.       <source file="/var/lib/libvirt/images/win11.img"/>
  96.       <target dev="vda" bus="virtio"/>
  97.       <boot order="3"/>
  98.       <address type="pci" domain="0x0000" bus="0x0a" slot="0x00" function="0x0"/>
  99.     </disk>
  100.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  101.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  102.     </controller>
  103.     <controller type="pci" index="0" model="pcie-root"/>
  104.     <controller type="pci" index="1" model="pcie-root-port">
  105.       <model name="pcie-root-port"/>
  106.       <target chassis="1" port="0x10"/>
  107.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  108.     </controller>
  109.     <controller type="pci" index="2" model="pcie-root-port">
  110.       <model name="pcie-root-port"/>
  111.       <target chassis="2" port="0x11"/>
  112.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  113.     </controller>
  114.     <controller type="pci" index="3" model="pcie-root-port">
  115.       <model name="pcie-root-port"/>
  116.       <target chassis="3" port="0x12"/>
  117.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  118.     </controller>
  119.     <controller type="pci" index="4" model="pcie-root-port">
  120.       <model name="pcie-root-port"/>
  121.       <target chassis="4" port="0x13"/>
  122.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  123.     </controller>
  124.     <controller type="pci" index="5" model="pcie-root-port">
  125.       <model name="pcie-root-port"/>
  126.       <target chassis="5" port="0x14"/>
  127.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  128.     </controller>
  129.     <controller type="pci" index="6" model="pcie-root-port">
  130.       <model name="pcie-root-port"/>
  131.       <target chassis="6" port="0x15"/>
  132.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  133.     </controller>
  134.     <controller type="pci" index="7" model="pcie-root-port">
  135.       <model name="pcie-root-port"/>
  136.       <target chassis="7" port="0x16"/>
  137.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  138.     </controller>
  139.     <controller type="pci" index="8" model="pcie-root-port">
  140.       <model name="pcie-root-port"/>
  141.       <target chassis="8" port="0x17"/>
  142.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  143.     </controller>
  144.     <controller type="pci" index="9" model="pcie-root-port">
  145.       <model name="pcie-root-port"/>
  146.       <target chassis="9" port="0x18"/>
  147.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  148.     </controller>
  149.     <controller type="pci" index="10" model="pcie-root-port">
  150.       <model name="pcie-root-port"/>
  151.       <target chassis="10" port="0x19"/>
  152.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  153.     </controller>
  154.     <controller type="pci" index="11" model="pcie-root-port">
  155.       <model name="pcie-root-port"/>
  156.       <target chassis="11" port="0x1a"/>
  157.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  158.     </controller>
  159.     <controller type="pci" index="12" model="pcie-root-port">
  160.       <model name="pcie-root-port"/>
  161.       <target chassis="12" port="0x1b"/>
  162.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  163.     </controller>
  164.     <controller type="pci" index="13" model="pcie-root-port">
  165.       <model name="pcie-root-port"/>
  166.       <target chassis="13" port="0x1c"/>
  167.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  168.     </controller>
  169.     <controller type="pci" index="14" model="pcie-root-port">
  170.       <model name="pcie-root-port"/>
  171.       <target chassis="14" port="0x1d"/>
  172.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  173.     </controller>
  174.     <controller type="pci" index="15" model="pcie-root-port">
  175.       <model name="pcie-root-port"/>
  176.       <target chassis="15" port="0x8"/>
  177.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  178.     </controller>
  179.     <controller type="pci" index="16" model="pcie-to-pci-bridge">
  180.       <model name="pcie-pci-bridge"/>
  181.       <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  182.     </controller>
  183.     <controller type="sata" index="0">
  184.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  185.     </controller>
  186.     <controller type="virtio-serial" index="0">
  187.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  188.     </controller>
  189.     <controller type="scsi" index="0" model="virtio-scsi">
  190.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  191.     </controller>
  192.     <filesystem type="mount" accessmode="passthrough">
  193.       <driver type="virtiofs"/>
  194.       <source dir="/home/sakuramatou/Documents/Win11"/>
  195.       <target dir="wwa"/>
  196.       <address type="pci" domain="0x0000" bus="0x0c" slot="0x00" function="0x0"/>
  197.     </filesystem>
  198.     <interface type="network">
  199.       <mac address="52:54:00:97:e0:91"/>
  200.       <source network="default"/>
  201.       <model type="virtio"/>
  202.       <link state="up"/>
  203.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  204.     </interface>
  205.     <serial type="pty">
  206.       <target type="isa-serial" port="0">
  207.         <model name="isa-serial"/>
  208.       </target>
  209.     </serial>
  210.     <console type="pty">
  211.       <target type="serial" port="0"/>
  212.     </console>
  213.     <channel type="spicevmc">
  214.       <target type="virtio" name="com.redhat.spice.0"/>
  215.       <address type="virtio-serial" controller="0" bus="0" port="1"/>
  216.     </channel>
  217.     <input type="mouse" bus="ps2"/>
  218.     <input type="keyboard" bus="ps2"/>
  219.     <tpm model="tpm-crb">
  220.       <backend type="emulator" version="2.0"/>
  221.     </tpm>
  222.     <graphics type="spice">
  223.       <listen type="none"/>
  224.       <image compression="off"/>
  225.       <gl enable="yes" rendernode="/dev/dri/by-path/pci-0000:05:00.0-render"/>
  226.     </graphics>
  227.     <sound model="ich9">
  228.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  229.     </sound>
  230.     <audio id="1" type="spice"/>
  231.     <video>
  232.       <model type="none"/>
  233.     </video>
  234.     <hostdev mode="subsystem" type="pci" managed="yes">
  235.       <source>
  236.         <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  237.       </source>
  238.       <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  239.     </hostdev>
  240.     <hostdev mode="subsystem" type="pci" managed="yes">
  241.       <source>
  242.         <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  243.       </source>
  244.       <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  245.     </hostdev>
  246.     <hostdev mode="subsystem" type="usb" managed="yes">
  247.       <source>
  248.         <vendor id="0x17ef"/>
  249.         <product id="0x60be"/>
  250.       </source>
  251.       <address type="usb" bus="0" port="3"/>
  252.     </hostdev>
  253.     <redirdev bus="usb" type="spicevmc">
  254.       <address type="usb" bus="0" port="1"/>
  255.     </redirdev>
  256.     <redirdev bus="usb" type="spicevmc">
  257.       <address type="usb" bus="0" port="2"/>
  258.     </redirdev>
  259.     <watchdog model="itco" action="reset"/>
  260.     <memballoon model="virtio">
  261.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  262.     </memballoon>
  263.     <shmem name="looking-glass">
  264.       <model type="ivshmem-plain"/>
  265.       <size unit="M">128</size>
  266.       <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
  267.     </shmem>
  268.   </devices>
  269.   <qemu:override>
  270.     <qemu:device alias="hostdev0">
  271.       <qemu:frontend>
  272.         <qemu:property name="x-pci-sub-vendor-id" type="unsigned" value="6058"/>
  273.         <qemu:property name="x-pci-sub-device-id" type="unsigned" value="14915"/>
  274.       </qemu:frontend>
  275.     </qemu:device>
  276.   </qemu:override>
  277. </domain>
  278.  
Advertisement
Add Comment
Please, Sign In to add comment