Querzion

Win10 QEMU - MY Overview

Apr 5th, 2023 (edited)
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.29 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2.   <name>name</name>
  3.   <uuid>bdf61391-9617-4f08-a7f5-16075b237141</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>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.     <vmport state="off"/>
  49.   </features>
  50.   <cpu mode="host-passthrough">
  51.   <cache mode="passthrough"/>
  52. <feature policy="require" name="topoext"/>
  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="disk">
  68.       <driver name="qemu" type="qcow2"/>
  69.       <source file="/var/lib/libvirt/images/name.qcow2"/>
  70.       <target dev="sda" bus="sata"/>
  71.       <boot order="2"/>
  72.     </disk>
  73.     <disk type="file" device="cdrom">
  74.       <driver name="qemu" type="raw"/>
  75.       <source file="/home/querzion/Downloads/ISOs/Windows/Windows 10 Pro x64 22H2 En-Us 19045.2075 October 2022 Team-LiL.iso"/>
  76.       <target dev="sdb" bus="sata"/>
  77.       <readonly/>
  78.       <boot order="1"/>
  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:74:a0:a0"/>
  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.     <redirdev bus="usb" type="spicevmc"/>
  118.     <redirdev bus="usb" type="spicevmc"/>
  119.     <disk type="file" device="cdrom">
  120.       <driver name="qemu" type="raw"/>
  121.       <source file="/var/lib/libvirt/images/virtio-win-0.1.229-1.iso"/>
  122.       <target dev="sdc" bus="sata"/>
  123.       <readonly/>
  124.       <boot order="3"/>
  125.     </disk>
  126.     <hostdev mode="subsystem" type="pci" managed="yes">
  127.       <source>
  128.         <address domain="0" bus="3" slot="0" function="0"/>
  129.       </source>
  130.     </hostdev>
  131.     <hostdev mode="subsystem" type="pci" managed="yes">
  132.       <source>
  133.         <address domain="0" bus="3" slot="0" function="1"/>
  134.       </source>
  135.     </hostdev>
  136.     <hostdev mode="subsystem" type="usb" managed="yes">
  137.       <source>
  138.         <vendor id="0x04d9"/>
  139.         <product id="0xa0d1"/>
  140.       </source>
  141.     </hostdev>
  142.     <hostdev mode="subsystem" type="usb" managed="yes">
  143.       <source>
  144.         <vendor id="0x18f8"/>
  145.         <product id="0x0f99"/>
  146.       </source>
  147.     </hostdev>
  148.   </devices>
  149.     <qemu:commandline>
  150. <qemu:env name="PIPEWIRE_RUNTIME_DIR" value="/run/user/1000"/>
  151. <qemu:env name="PIPEWIRE_LATENCY" value="512/48000"/>
  152. <qemu:arg value="-overcommit"/>
  153. <qemu:arg value="cpu-pm=on"/>
  154. </qemu:commandline>
  155. </domain>
  156.  
Add Comment
Please, Sign In to add comment