Advertisement
Querzion

XML Overview

Apr 4th, 2023
864
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.17 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2.   <name>name</name>
  3.   <uuid>e6aad2a1-c1ed-4e26-b893-d21e81378d53</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>33554432</memory>
  10.   <currentMemory>33554432</currentMemory>
  11.     <memoryBacking>
  12.   <hugepages/>
  13. </memoryBacking>
  14.   <vcpu current="12">12</vcpu>
  15.   <iothreads>1</iothreads>
  16.   <cputune>
  17.     <vcpupin vcpu="0" cpuset="6"/>
  18.     <vcpupin vcpu="1" cpuset="18"/>
  19.     <vcpupin vcpu="2" cpuset="7"/>
  20.     <vcpupin vcpu="3" cpuset="19"/>
  21.     <vcpupin vcpu="4" cpuset="8"/>
  22.     <vcpupin vcpu="5" cpuset="20"/>
  23.     <vcpupin vcpu="6" cpuset="9"/>
  24.     <vcpupin vcpu="7" cpuset="21"/>
  25.     <vcpupin vcpu="8" cpuset="10"/>
  26.     <vcpupin vcpu="9" cpuset="22"/>
  27.     <vcpupin vcpu="10" cpuset="11"/>
  28.     <vcpupin vcpu="11" cpuset="23"/>
  29.     <emulatorpin cpuset="0-5,12-17"/>
  30.     <iothreadpin iothread="1" cpuset="0-5,12-17"/>
  31.   </cputune>
  32.   <os firmware="efi">
  33.     <type arch="x86_64" machine="q35">hvm</type>
  34.   </os>
  35.   <features>
  36.     <acpi/>
  37.     <apic/>
  38.     <hyperv>
  39.     <synic state="on"/>
  40. <stimer state="on"/>
  41. <reset state="on"/>
  42. <frequencies state="on"/>
  43. <vendor_id state="on" value="randomid"/>
  44.       <relaxed state="on"/>
  45.       <vapic state="on"/>
  46.       <spinlocks state="on" retries="8191"/>
  47.     </hyperv>
  48.     <vpindex state="on"/>
  49.     <vmport state="off"/>
  50.   </features>
  51.   <cpu mode="host-passthrough">
  52.   <cache mode="passthrough"/>
  53.     <topology sockets="1" cores="12" threads="1"/>
  54.   </cpu>
  55.   <clock offset="localtime">
  56.     <timer name="rtc" tickpolicy="catchup"/>
  57.     <timer name="pit" tickpolicy="delay"/>
  58.     <timer name="hpet" present="no"/>
  59.     <timer name="hypervclock" present="yes"/>
  60.   </clock>
  61.   <pm>
  62.     <suspend-to-mem enabled="no"/>
  63.     <suspend-to-disk enabled="no"/>
  64.   </pm>
  65.   <devices>
  66.     <emulator>/usr/bin/qemu-system-x86_64</emulator>
  67.     <disk type="file" device="cdrom">
  68.       <driver name="qemu" type="raw"/>
  69.       <source file="/var/lib/libvirt/images/Win11_22H2_EnglishInternational_x64v1.iso"/>
  70.       <target dev="sdb" bus="sata"/>
  71.       <readonly/>
  72.       <boot order="1"/>
  73.     </disk>
  74.     <disk type="file" device="cdrom">
  75.       <driver name="qemu" type="raw"/>
  76.       <source file="/var/lib/libvirt/images/virtio-win-0.1.229-1.iso"/>
  77.       <target dev="sdc" bus="sata"/>
  78.       <readonly/>
  79.     </disk>
  80.     <controller type="usb" model="qemu-xhci" ports="15"/>
  81.     <controller type="pci" model="pcie-root"/>
  82.     <controller type="pci" model="pcie-root-port"/>
  83.     <controller type="pci" model="pcie-root-port"/>
  84.     <controller type="pci" model="pcie-root-port"/>
  85.     <controller type="pci" model="pcie-root-port"/>
  86.     <controller type="pci" model="pcie-root-port"/>
  87.     <controller type="pci" model="pcie-root-port"/>
  88.     <controller type="pci" model="pcie-root-port"/>
  89.     <controller type="pci" model="pcie-root-port"/>
  90.     <controller type="pci" model="pcie-root-port"/>
  91.     <controller type="pci" model="pcie-root-port"/>
  92.     <controller type="pci" model="pcie-root-port"/>
  93.     <controller type="pci" model="pcie-root-port"/>
  94.     <controller type="pci" model="pcie-root-port"/>
  95.     <controller type="pci" model="pcie-root-port"/>
  96.     <interface type="network">
  97.       <source network="default"/>
  98.       <mac address="52:54:00:2d:f3:2b"/>
  99.       <model type="e1000e"/>
  100.     </interface>
  101.     <console type="pty"/>
  102.     <channel type="spicevmc">
  103.       <target type="virtio" name="com.redhat.spice.0"/>
  104.     </channel>
  105.     <input type="tablet" bus="usb"/>
  106.     <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
  107.       <image compression="off"/>
  108.     </graphics>
  109.     <sound model="ich9"/>
  110.     <audio id="1" type="jack">
  111. <input clientName="name" connectPorts="Arctis Nova 7P.*Capture_F[LR]"/>
  112. <output clientName="name" connectPorts="Arctis Nova 7P.*Playback_F[LR]"/>
  113. </audio>
  114.     <video>
  115.       <model type="qxl"/>
  116.     </video>
  117.     <hostdev mode="subsystem" type="pci" managed="yes">
  118.       <source>
  119.         <address domain="0" bus="3" slot="0" function="0"/>
  120.       </source>
  121.     </hostdev>
  122.     <hostdev mode="subsystem" type="pci" managed="yes">
  123.       <source>
  124.         <address domain="0" bus="3" slot="0" function="1"/>
  125.       </source>
  126.     </hostdev>
  127.     <hostdev mode="subsystem" type="usb" managed="yes">
  128.       <source>
  129.         <vendor id="0x04d9"/>
  130.         <product id="0xa0d1"/>
  131.       </source>
  132.     </hostdev>
  133.     <hostdev mode="subsystem" type="usb" managed="yes">
  134.       <source>
  135.         <vendor id="0x18f8"/>
  136.         <product id="0x0f99"/>
  137.       </source>
  138.     </hostdev>
  139.     <redirdev bus="usb" type="spicevmc"/>
  140.     <redirdev bus="usb" type="spicevmc"/>
  141.     <disk type="file" device="disk">
  142.       <driver name="qemu" type="qcow2"/>
  143.       <source file="/var/lib/libvirt/images/name.qcow2"/>
  144.       <target dev="sdd" bus="sata"/>
  145.     </disk>
  146.   </devices>
  147.   <qemu:commandline>
  148. <qemu:env name="PIPEWIRE_RUNTIME_DIR" value="/run/user/1000"/>
  149. <qemu:env name="PIPEWIRE_LATENCY" value="512/48000"/>
  150. <qemu:arg value="-overcommit"/>
  151. <qemu:arg value="cpu-pm=on"/>
  152. </qemu:commandline>
  153. </domain>
  154.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement