Advertisement
epicman829

vm xm1

Mar 25th, 2024
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 KB | None | 0 0
  1. <domain type="kvm">
  2. <name>win10</name>
  3. <uuid>e262572a-5de6-460f-b96e-7a38d2387ca0</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">16384000</memory>
  10. <currentMemory unit="KiB">16384000</currentMemory>
  11. <vcpu placement="static">16</vcpu>
  12. <os firmware="efi">
  13. <type arch="x86_64" machine="pc-q35-8.2">hvm</type>
  14. <firmware>
  15. <feature enabled="no" name="enrolled-keys"/>
  16. <feature enabled="no" name="secure-boot"/>
  17. </firmware>
  18. <loader readonly="yes" type="pflash">/usr/share/edk2/x64/OVMF_CODE.fd</loader>
  19. <nvram template="/usr/share/edk2/x64/OVMF_VARS.fd">/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  20. </os>
  21. <features>
  22. <acpi/>
  23. <apic/>
  24. <hyperv mode="custom">
  25. <relaxed state="on"/>
  26. <vapic state="on"/>
  27. <spinlocks state="on" retries="8191"/>
  28. <vendor_id state="on" value="ragebait"/>
  29. </hyperv>
  30. </features>
  31. <cpu mode="host-passthrough" check="none" migratable="on">
  32. <topology sockets="1" dies="1" clusters="1" cores="8" threads="2"/>
  33. </cpu>
  34. <clock offset="localtime">
  35. <timer name="rtc" tickpolicy="catchup"/>
  36. <timer name="pit" tickpolicy="delay"/>
  37. <timer name="hpet" present="no"/>
  38. <timer name="hypervclock" present="yes"/>
  39. </clock>
  40. <on_poweroff>destroy</on_poweroff>
  41. <on_reboot>restart</on_reboot>
  42. <on_crash>destroy</on_crash>
  43. <pm>
  44. <suspend-to-mem enabled="no"/>
  45. <suspend-to-disk enabled="no"/>
  46. </pm>
  47. <devices>
  48. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  49. <disk type="file" device="disk">
  50. <driver name="qemu" type="qcow2" discard="unmap"/>
  51. <source file="/home/tyreece/VMs/win10.qcow2"/>
  52. <target dev="sda" bus="sata"/>
  53. <boot order="1"/>
  54. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  55. </disk>
  56. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  57. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  58. </controller>
  59. <controller type="pci" index="0" model="pcie-root"/>
  60. <controller type="pci" index="1" model="pcie-root-port">
  61. <model name="pcie-root-port"/>
  62. <target chassis="1" port="0x10"/>
  63. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  64. </controller>
  65. <controller type="pci" index="2" model="pcie-root-port">
  66. <model name="pcie-root-port"/>
  67. <target chassis="2" port="0x11"/>
  68. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  69. </controller>
  70. <controller type="pci" index="3" model="pcie-root-port">
  71. <model name="pcie-root-port"/>
  72. <target chassis="3" port="0x12"/>
  73. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  74. </controller>
  75. <controller type="pci" index="4" model="pcie-root-port">
  76. <model name="pcie-root-port"/>
  77. <target chassis="4" port="0x13"/>
  78. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  79. </controller>
  80. <controller type="pci" index="5" model="pcie-root-port">
  81. <model name="pcie-root-port"/>
  82. <target chassis="5" port="0x14"/>
  83. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  84. </controller>
  85. <controller type="pci" index="6" model="pcie-root-port">
  86. <model name="pcie-root-port"/>
  87. <target chassis="6" port="0x15"/>
  88. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  89. </controller>
  90. <controller type="pci" index="7" model="pcie-root-port">
  91. <model name="pcie-root-port"/>
  92. <target chassis="7" port="0x16"/>
  93. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  94. </controller>
  95. <controller type="pci" index="8" model="pcie-root-port">
  96. <model name="pcie-root-port"/>
  97. <target chassis="8" port="0x17"/>
  98. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  99. </controller>
  100. <controller type="pci" index="9" model="pcie-root-port">
  101. <model name="pcie-root-port"/>
  102. <target chassis="9" port="0x18"/>
  103. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  104. </controller>
  105. <controller type="pci" index="10" model="pcie-root-port">
  106. <model name="pcie-root-port"/>
  107. <target chassis="10" port="0x19"/>
  108. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  109. </controller>
  110. <controller type="pci" index="11" model="pcie-root-port">
  111. <model name="pcie-root-port"/>
  112. <target chassis="11" port="0x1a"/>
  113. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  114. </controller>
  115. <controller type="pci" index="12" model="pcie-root-port">
  116. <model name="pcie-root-port"/>
  117. <target chassis="12" port="0x1b"/>
  118. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/>
  119. </controller>
  120. <controller type="pci" index="13" model="pcie-root-port">
  121. <model name="pcie-root-port"/>
  122. <target chassis="13" port="0x1c"/>
  123. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/>
  124. </controller>
  125. <controller type="pci" index="14" model="pcie-root-port">
  126. <model name="pcie-root-port"/>
  127. <target chassis="14" port="0x1d"/>
  128. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/>
  129. </controller>
  130. <controller type="sata" index="0">
  131. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  132. </controller>
  133. <interface type="network">
  134. <mac address="52:54:00:64:58:ac"/>
  135. <source network="default"/>
  136. <model type="e1000e"/>
  137. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  138. </interface>
  139. <input type="mouse" bus="ps2"/>
  140. <input type="keyboard" bus="ps2"/>
  141. <audio id="1" type="none"/>
  142. <video>
  143. <model type="vga" vram="16384" heads="1" primary="yes"/>
  144. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  145. </video>
  146. <hostdev mode="subsystem" type="usb" managed="yes">
  147. <source>
  148. <vendor id="0x046d"/>
  149. <product id="0xc336"/>
  150. </source>
  151. <address type="usb" bus="0" port="2"/>
  152. </hostdev>
  153. <hostdev mode="subsystem" type="usb" managed="yes">
  154. <source>
  155. <vendor id="0x046d"/>
  156. <product id="0xc547"/>
  157. </source>
  158. <address type="usb" bus="0" port="3"/>
  159. </hostdev>
  160. <hostdev mode="subsystem" type="pci" managed="yes">
  161. <source>
  162. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  163. </source>
  164. <rom bar="on" file="home/tyreece/patch.rom"/>
  165. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  166. </hostdev>
  167. <hostdev mode="subsystem" type="pci" managed="yes">
  168. <source>
  169. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  170. </source>
  171. <rom bar="on" file="home/tyreece/patch.rom"/>
  172. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  173. </hostdev>
  174. <watchdog model="itco" action="reset"/>
  175. <memballoon model="virtio">
  176. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  177. </memballoon>
  178. </devices>
  179. </domain>
  180.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement