Guest User

Untitled

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