Guest User

Untitled

a guest
Feb 12th, 2025
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.04 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>win11</name>
  3. <uuid>d61305ed-c050-4d57-ad9c-3e449470ab27</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">50331648</memory>
  10. <currentMemory unit="KiB">50331648</currentMemory>
  11. <memoryBacking>
  12. <source type="memfd"/>
  13. <access mode="shared"/>
  14. </memoryBacking>
  15. <vcpu placement="static">12</vcpu>
  16. <iothreads>1</iothreads>
  17. <cputune>
  18. <vcpupin vcpu="0" cpuset="4"/>
  19. <vcpupin vcpu="1" cpuset="5"/>
  20. <vcpupin vcpu="2" cpuset="6"/>
  21. <vcpupin vcpu="3" cpuset="7"/>
  22. <vcpupin vcpu="4" cpuset="8"/>
  23. <vcpupin vcpu="5" cpuset="9"/>
  24. <vcpupin vcpu="6" cpuset="10"/>
  25. <vcpupin vcpu="7" cpuset="11"/>
  26. <vcpupin vcpu="8" cpuset="12"/>
  27. <vcpupin vcpu="9" cpuset="13"/>
  28. <vcpupin vcpu="10" cpuset="14"/>
  29. <vcpupin vcpu="11" cpuset="15"/>
  30. <emulatorpin cpuset="1"/>
  31. <iothreadpin iothread="1" cpuset="2-3"/>
  32. <vcpusched vcpus="0" scheduler="fifo" priority="1"/>
  33. <vcpusched vcpus="1" scheduler="fifo" priority="1"/>
  34. <vcpusched vcpus="2" scheduler="fifo" priority="1"/>
  35. <vcpusched vcpus="3" scheduler="fifo" priority="1"/>
  36. <vcpusched vcpus="4" scheduler="fifo" priority="1"/>
  37. <vcpusched vcpus="5" scheduler="fifo" priority="1"/>
  38. <vcpusched vcpus="6" scheduler="fifo" priority="1"/>
  39. <vcpusched vcpus="7" scheduler="fifo" priority="1"/>
  40. <vcpusched vcpus="8" scheduler="fifo" priority="1"/>
  41. <vcpusched vcpus="9" scheduler="fifo" priority="1"/>
  42. <vcpusched vcpus="10" scheduler="fifo" priority="1"/>
  43. <vcpusched vcpus="11" scheduler="fifo" priority="1"/>
  44. </cputune>
  45. <os>
  46. <type arch="x86_64" machine="pc-q35-9.1">hvm</type>
  47. <loader readonly="yes" secure="no" type="pflash" format="raw">/run/libvirt/nix-ovmf/OVMF_CODE.fd</loader>
  48. <nvram template="/run/libvirt/nix-ovmf/OVMF_VARS.fd" format="raw">/var/lib/libvirt/qemu/nvram/win11_VARS.fd</nvram>
  49. </os>
  50. <features>
  51. <acpi/>
  52. <apic/>
  53. <vmport state="off"/>
  54. </features>
  55. <cpu mode="host-passthrough" check="none" migratable="on">
  56. <topology sockets="1" dies="1" clusters="1" cores="6" threads="2"/>
  57. <cache mode="passthrough"/>
  58. <maxphysaddr mode="passthrough" limit="39"/>
  59. <feature policy="require" name="topoext"/>
  60. <feature policy="require" name="invtsc"/>
  61. </cpu>
  62. <clock offset="localtime">
  63. <timer name="rtc" tickpolicy="catchup"/>
  64. <timer name="pit" tickpolicy="discard"/>
  65. <timer name="hpet" present="no"/>
  66. <timer name="kvmclock" present="yes"/>
  67. <timer name="hypervclock" present="yes"/>
  68. <timer name="tsc" present="yes" mode="native"/>
  69. </clock>
  70. <on_poweroff>destroy</on_poweroff>
  71. <on_reboot>restart</on_reboot>
  72. <on_crash>destroy</on_crash>
  73. <pm>
  74. <suspend-to-mem enabled="no"/>
  75. <suspend-to-disk enabled="no"/>
  76. </pm>
  77. <devices>
  78. <emulator>/run/libvirt/nix-emulators/qemu-system-x86_64</emulator>
  79. <controller type="usb" index="0" model="qemu-xhci">
  80. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  81. </controller>
  82. <controller type="pci" index="0" model="pcie-root"/>
  83. <controller type="pci" index="1" model="pcie-root-port">
  84. <model name="pcie-root-port"/>
  85. <target chassis="1" port="0x8"/>
  86. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  87. </controller>
  88. <controller type="pci" index="2" model="pcie-root-port">
  89. <model name="pcie-root-port"/>
  90. <target chassis="2" port="0x9"/>
  91. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  92. </controller>
  93. <controller type="pci" index="3" model="pcie-root-port">
  94. <model name="pcie-root-port"/>
  95. <target chassis="3" port="0xa"/>
  96. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  97. </controller>
  98. <controller type="pci" index="4" model="pcie-root-port">
  99. <model name="pcie-root-port"/>
  100. <target chassis="4" port="0xb"/>
  101. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x3"/>
  102. </controller>
  103. <controller type="pci" index="5" model="pcie-root-port">
  104. <model name="pcie-root-port"/>
  105. <target chassis="5" port="0xc"/>
  106. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x4"/>
  107. </controller>
  108. <controller type="pci" index="6" model="pcie-root-port">
  109. <model name="pcie-root-port"/>
  110. <target chassis="6" port="0xd"/>
  111. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x5"/>
  112. </controller>
  113. <controller type="pci" index="7" model="pcie-root-port">
  114. <model name="pcie-root-port"/>
  115. <target chassis="7" port="0xe"/>
  116. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x6"/>
  117. </controller>
  118. <controller type="pci" index="8" model="pcie-root-port">
  119. <model name="pcie-root-port"/>
  120. <target chassis="8" port="0xf"/>
  121. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x7"/>
  122. </controller>
  123. <controller type="pci" index="9" model="pcie-root-port">
  124. <model name="pcie-root-port"/>
  125. <target chassis="9" port="0x10"/>
  126. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  127. </controller>
  128. <controller type="pci" index="10" model="pcie-root-port">
  129. <model name="pcie-root-port"/>
  130. <target chassis="10" port="0x11"/>
  131. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  132. </controller>
  133. <controller type="pci" index="11" model="pcie-to-pci-bridge">
  134. <model name="pcie-pci-bridge"/>
  135. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  136. </controller>
  137. <controller type="pci" index="12" model="pci-bridge">
  138. <model name="pci-bridge"/>
  139. <target chassisNr="12"/>
  140. <address type="pci" domain="0x0000" bus="0x0b" slot="0x01" function="0x0"/>
  141. </controller>
  142. <controller type="pci" index="13" model="pci-bridge">
  143. <model name="pci-bridge"/>
  144. <target chassisNr="13"/>
  145. <address type="pci" domain="0x0000" bus="0x0b" slot="0x02" function="0x0"/>
  146. </controller>
  147. <controller type="pci" index="14" model="pci-bridge">
  148. <model name="pci-bridge"/>
  149. <target chassisNr="14"/>
  150. <address type="pci" domain="0x0000" bus="0x0b" slot="0x03" function="0x0"/>
  151. </controller>
  152. <controller type="pci" index="15" model="pci-bridge">
  153. <model name="pci-bridge"/>
  154. <target chassisNr="15"/>
  155. <address type="pci" domain="0x0000" bus="0x0b" slot="0x04" function="0x0"/>
  156. </controller>
  157. <controller type="pci" index="16" model="pci-bridge">
  158. <model name="pci-bridge"/>
  159. <target chassisNr="16"/>
  160. <address type="pci" domain="0x0000" bus="0x0b" slot="0x05" function="0x0"/>
  161. </controller>
  162. <controller type="virtio-serial" index="0">
  163. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  164. </controller>
  165. <controller type="sata" index="0">
  166. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  167. </controller>
  168. <filesystem type="mount" accessmode="passthrough">
  169. <driver type="virtiofs"/>
  170. <binary path="/run/current-system/sw/bin/virtiofsd" xattr="on"/>
  171. <source dir="/home/user/virtiofs/win11"/>
  172. <target dir="shared"/>
  173. <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  174. </filesystem>
  175. <interface type="network">
  176. <mac address="52:54:00:d8:ee:3d"/>
  177. <source network="default"/>
  178. <model type="virtio"/>
  179. <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  180. </interface>
  181. <serial type="pty">
  182. <target type="isa-serial" port="0">
  183. <model name="isa-serial"/>
  184. </target>
  185. </serial>
  186. <console type="pty">
  187. <target type="serial" port="0"/>
  188. </console>
  189. <channel type="spicevmc">
  190. <target type="virtio" name="com.redhat.spice.0"/>
  191. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  192. </channel>
  193. <input type="evdev">
  194. <source dev="/dev/input/by-id/usb-Nordic_Semiconductor_NuPhy_Air75_V2_Dongle-event-kbd" grab="all" repeat="on"/>
  195. </input>
  196. <input type="evdev">
  197. <source dev="/dev/input/by-id/usb-Logitech_USB_Receiver_344F345D3232-event-mouse"/>
  198. </input>
  199. <input type="mouse" bus="ps2"/>
  200. <input type="keyboard" bus="ps2"/>
  201. <tpm model="tpm-crb">
  202. <backend type="passthrough">
  203. <device path="/dev/tpm0"/>
  204. </backend>
  205. </tpm>
  206. <graphics type="spice" port="-1" autoport="no">
  207. <listen type="address"/>
  208. <image compression="off"/>
  209. </graphics>
  210. <sound model="ich9">
  211. <audio id="1"/>
  212. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  213. </sound>
  214. <audio id="1" type="pipewire" runtimeDir="/run/user/1000"/>
  215. <video>
  216. <model type="none"/>
  217. </video>
  218. <hostdev mode="subsystem" type="pci" managed="yes">
  219. <source>
  220. <address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  221. </source>
  222. <boot order="1"/>
  223. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  224. </hostdev>
  225. <hostdev mode="subsystem" type="pci" managed="yes">
  226. <source>
  227. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  228. </source>
  229. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0" multifunction="on"/>
  230. </hostdev>
  231. <hostdev mode="subsystem" type="pci" managed="yes">
  232. <source>
  233. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  234. </source>
  235. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x1"/>
  236. </hostdev>
  237. <hostdev mode="subsystem" type="pci" managed="yes">
  238. <source>
  239. <address domain="0x0000" bus="0x00" slot="0x14" function="0x3"/>
  240. </source>
  241. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  242. </hostdev>
  243. <hostdev mode="subsystem" type="usb" managed="yes">
  244. <source>
  245. <vendor id="0x8087"/>
  246. <product id="0x0033"/>
  247. </source>
  248. <address type="usb" bus="0" port="1"/>
  249. </hostdev>
  250. <redirdev bus="usb" type="spicevmc">
  251. <address type="usb" bus="0" port="2"/>
  252. </redirdev>
  253. <watchdog model="itco" action="reset"/>
  254. <memballoon model="none"/>
  255. <shmem name="looking-glass-win11">
  256. <model type="ivshmem-plain"/>
  257. <size unit="M">128</size>
  258. <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
  259. </shmem>
  260. </devices>
  261. <qemu:commandline>
  262. <qemu:arg value="-fw_cfg"/>
  263. <qemu:arg value="opt/ovmf/X-PciMmio64Mb,string=65536"/>
  264. </qemu:commandline>
  265. <qemu:capabilities>
  266. <qemu:del capability="usb-host.hostdevice"/>
  267. </qemu:capabilities>
  268. </domain>
Advertisement
Add Comment
Please, Sign In to add comment