Advertisement
Guest User

Untitled

a guest
Jan 1st, 2025
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.95 KB | None | 0 0
  1. <domain type="kvm">
  2.   <name>win10</name>
  3.   <uuid>599bbf13-c20d-4684-8e53-c3d359a2c3f4</uuid>
  4.   <metadata>
  5.     <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
  6.       <libosinfo:os id="http://microsoft.com/win/10"/>
  7.     </libosinfo:libosinfo>
  8.   </metadata>
  9.   <memory unit="KiB">24674304</memory>
  10.   <currentMemory unit="KiB">24674304</currentMemory>
  11.   <vcpu placement="static" cpuset="0,2,4,6,8,10,12,14,16">10</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/win10_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.       <evmcs state="on"/>
  37.       <avic state="on"/>
  38.     </hyperv>
  39.     <vmport state="off"/>
  40.     <smm state="on"/>
  41.   </features>
  42.   <cpu mode="host-passthrough" check="none" migratable="on"/>
  43.   <clock offset="localtime">
  44.     <timer name="rtc" tickpolicy="catchup"/>
  45.     <timer name="pit" tickpolicy="delay"/>
  46.     <timer name="hpet" present="no"/>
  47.     <timer name="hypervclock" present="yes"/>
  48.   </clock>
  49.   <on_poweroff>destroy</on_poweroff>
  50.   <on_reboot>restart</on_reboot>
  51.   <on_crash>destroy</on_crash>
  52.   <pm>
  53.     <suspend-to-mem enabled="no"/>
  54.     <suspend-to-disk enabled="no"/>
  55.   </pm>
  56.   <devices>
  57.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  58.     <disk type="file" device="disk">
  59.       <driver name="qemu" type="qcow2"/>
  60.       <source file="/ssd/vm/storage/win10.qcow2"/>
  61.       <target dev="sda" bus="sata"/>
  62.       <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  63.     </disk>
  64.     <disk type="file" device="cdrom">
  65.       <driver name="qemu" type="raw"/>
  66.       <source file="/ssd/vm/os/Win10_22H2_English_x64v1.iso"/>
  67.       <target dev="sdb" bus="sata"/>
  68.       <readonly/>
  69.       <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  70.     </disk>
  71.     <controller type="usb" index="0" model="qemu-xhci" ports="15">
  72.       <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  73.     </controller>
  74.     <controller type="pci" index="0" model="pcie-root"/>
  75.     <controller type="pci" index="1" model="pcie-root-port">
  76.       <model name="pcie-root-port"/>
  77.       <target chassis="1" port="0x10"/>
  78.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  79.     </controller>
  80.     <controller type="pci" index="2" model="pcie-root-port">
  81.       <model name="pcie-root-port"/>
  82.       <target chassis="2" port="0x11"/>
  83.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  84.     </controller>
  85.     <controller type="pci" index="3" model="pcie-root-port">
  86.       <model name="pcie-root-port"/>
  87.       <target chassis="3" port="0x12"/>
  88.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  89.     </controller>
  90.     <controller type="pci" index="4" model="pcie-root-port">
  91.       <model name="pcie-root-port"/>
  92.       <target chassis="4" port="0x13"/>
  93.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  94.     </controller>
  95.     <controller type="pci" index="5" model="pcie-root-port">
  96.       <model name="pcie-root-port"/>
  97.       <target chassis="5" port="0x14"/>
  98.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  99.     </controller>
  100.     <controller type="pci" index="6" model="pcie-root-port">
  101.       <model name="pcie-root-port"/>
  102.       <target chassis="6" port="0x15"/>
  103.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  104.     </controller>
  105.     <controller type="pci" index="7" model="pcie-root-port">
  106.       <model name="pcie-root-port"/>
  107.       <target chassis="7" port="0x16"/>
  108.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  109.     </controller>
  110.     <controller type="pci" index="8" model="pcie-root-port">
  111.       <model name="pcie-root-port"/>
  112.       <target chassis="8" port="0x17"/>
  113.       <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  114.     </controller>
  115.     <controller type="pci" index="9" model="pcie-root-port">
  116.       <model name="pcie-root-port"/>
  117.       <target chassis="9" port="0x18"/>
  118.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  119.     </controller>
  120.     <controller type="pci" index="10" model="pcie-root-port">
  121.       <model name="pcie-root-port"/>
  122.       <target chassis="10" port="0x19"/>
  123.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  124.     </controller>
  125.     <controller type="pci" index="11" model="pcie-root-port">
  126.       <model name="pcie-root-port"/>
  127.       <target chassis="11" port="0x1a"/>
  128.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  129.     </controller>
  130.     <controller type="pci" index="12" model="pcie-root-port">
  131.       <model name="pcie-root-port"/>
  132.       <target chassis="12" port="0x1b"/>
  133.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  134.     </controller>
  135.     <controller type="pci" index="13" model="pcie-root-port">
  136.       <model name="pcie-root-port"/>
  137.       <target chassis="13" port="0x1c"/>
  138.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  139.     </controller>
  140.     <controller type="pci" index="14" model="pcie-root-port">
  141.       <model name="pcie-root-port"/>
  142.       <target chassis="14" port="0x1d"/>
  143.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  144.     </controller>
  145.     <controller type="pci" index="15" model="pcie-root-port">
  146.       <model name="pcie-root-port"/>
  147.       <target chassis="15" port="0x1e"/>
  148.       <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x6"/>
  149.     </controller>
  150.     <controller type="pci" index="16" model="pcie-to-pci-bridge">
  151.       <model name="pcie-pci-bridge"/>
  152.       <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  153.     </controller>
  154.     <controller type="sata" index="0">
  155.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  156.     </controller>
  157.     <controller type="virtio-serial" index="0">
  158.       <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  159.     </controller>
  160.     <interface type="network">
  161.       <mac address="52:54:00:e6:6d:9c"/>
  162.       <source network="default"/>
  163.       <model type="e1000e"/>
  164.       <link state="up"/>
  165.       <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  166.     </interface>
  167.     <serial type="pty">
  168.       <target type="isa-serial" port="0">
  169.         <model name="isa-serial"/>
  170.       </target>
  171.     </serial>
  172.     <console type="pty">
  173.       <target type="serial" port="0"/>
  174.     </console>
  175.     <input type="evdev">
  176.       <source dev="/dev/input/by-id/usb-Razer_Razer_Basilisk_V3-event-mouse"/>
  177.     </input>
  178.     <input type="evdev">
  179.       <source dev="/dev/input/by-id/usb-KBDFANS_MAJA-if02-event-kbd" grab="all" grabToggle="shift-shift" repeat="on"/>
  180.     </input>
  181.     <input type="mouse" bus="ps2"/>
  182.     <input type="keyboard" bus="ps2"/>
  183.     <graphics type="spice" autoport="yes">
  184.       <listen type="address"/>
  185.       <image compression="off"/>
  186.       <gl enable="no"/>
  187.     </graphics>
  188.     <sound model="ich9">
  189.       <audio id="1"/>
  190.       <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  191.     </sound>
  192.     <audio id="1" type="spice"/>
  193.     <video>
  194.       <model type="vga" vram="16384" heads="1" primary="yes"/>
  195.       <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  196.     </video>
  197.     <hostdev mode="subsystem" type="pci" managed="yes">
  198.       <source>
  199.         <address domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  200.       </source>
  201.       <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  202.     </hostdev>
  203.     <hostdev mode="subsystem" type="pci" managed="yes">
  204.       <source>
  205.         <address domain="0x0000" bus="0x09" slot="0x00" function="0x1"/>
  206.       </source>
  207.       <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  208.     </hostdev>
  209.     <watchdog model="itco" action="reset"/>
  210.     <memballoon model="none"/>
  211.     <shmem name="looking-glass">
  212.       <model type="ivshmem-plain"/>
  213.       <size unit="M">32</size>
  214.       <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
  215.     </shmem>
  216.   </devices>
  217. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement