Advertisement
deckoff

Untitled

Apr 4th, 2022
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.72 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>win10</name>
  3. <uuid>d2eb4cb1-1d28-43bc-8401-babd96a5e796</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">16777216</memory>
  10. <currentMemory unit="KiB">16777216</currentMemory>
  11. <vcpu placement="static">8</vcpu>
  12. <os>
  13. <type arch="x86_64" machine="pc-q35-4.2">hvm</type>
  14. <loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE.ms.fd</loader>
  15. <nvram>/var/lib/libvirt/qemu/nvram/win10-2_VARS.fd</nvram>
  16. </os>
  17. <features>
  18. <acpi/>
  19. <apic/>
  20. <hyperv>
  21. <relaxed state="on"/>
  22. <vapic state="on"/>
  23. <spinlocks state="on" retries="8191"/>
  24. </hyperv>
  25. <vmport state="off"/>
  26. </features>
  27. <cpu mode="custom" match="exact" check="none">
  28. <model fallback="forbid">qemu64</model>
  29. <topology sockets="8" cores="1" threads="1"/>
  30. <feature policy="require" name="ibpb"/>
  31. <feature policy="require" name="md-clear"/>
  32. <feature policy="require" name="spec-ctrl"/>
  33. <feature policy="require" name="ssbd"/>
  34. </cpu>
  35. <clock offset="localtime">
  36. <timer name="rtc" tickpolicy="catchup"/>
  37. <timer name="pit" tickpolicy="delay"/>
  38. <timer name="hpet" present="no"/>
  39. <timer name="hypervclock" present="yes"/>
  40. </clock>
  41. <on_poweroff>destroy</on_poweroff>
  42. <on_reboot>restart</on_reboot>
  43. <on_crash>destroy</on_crash>
  44. <pm>
  45. <suspend-to-mem enabled="no"/>
  46. <suspend-to-disk enabled="no"/>
  47. </pm>
  48. <devices>
  49. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  50. <disk type="file" device="disk">
  51. <driver name="qemu" type="qcow2"/>
  52. <source file="/home/deckoff/Documents/VMs/win10.qcow2"/>
  53. <target dev="sda" bus="sata"/>
  54. <boot order="1"/>
  55. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  56. </disk>
  57. <disk type="file" device="cdrom">
  58. <driver name="qemu" type="raw"/>
  59. <source file="/home/deckoff/Documents/VMs/virtio-win-0.1.215.iso"/>
  60. <target dev="sdb" bus="sata"/>
  61. <readonly/>
  62. <boot order="2"/>
  63. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  64. </disk>
  65. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  66. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  67. </controller>
  68. <controller type="sata" index="0">
  69. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  70. </controller>
  71. <controller type="pci" index="0" model="pcie-root"/>
  72. <controller type="pci" index="1" model="pcie-root-port">
  73. <model name="pcie-root-port"/>
  74. <target chassis="1" port="0x10"/>
  75. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  76. </controller>
  77. <controller type="pci" index="2" model="pcie-root-port">
  78. <model name="pcie-root-port"/>
  79. <target chassis="2" port="0x11"/>
  80. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  81. </controller>
  82. <controller type="pci" index="3" model="pcie-root-port">
  83. <model name="pcie-root-port"/>
  84. <target chassis="3" port="0x12"/>
  85. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  86. </controller>
  87. <controller type="pci" index="4" model="pcie-root-port">
  88. <model name="pcie-root-port"/>
  89. <target chassis="4" port="0x13"/>
  90. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  91. </controller>
  92. <controller type="pci" index="5" model="pcie-root-port">
  93. <model name="pcie-root-port"/>
  94. <target chassis="5" port="0x14"/>
  95. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  96. </controller>
  97. <controller type="pci" index="6" model="pcie-root-port">
  98. <model name="pcie-root-port"/>
  99. <target chassis="6" port="0x15"/>
  100. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  101. </controller>
  102. <controller type="pci" index="7" model="pcie-root-port">
  103. <model name="pcie-root-port"/>
  104. <target chassis="7" port="0x16"/>
  105. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  106. </controller>
  107. <controller type="pci" index="8" model="pcie-root-port">
  108. <model name="pcie-root-port"/>
  109. <target chassis="8" port="0x17"/>
  110. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  111. </controller>
  112. <controller type="pci" index="9" model="pcie-root-port">
  113. <model name="pcie-root-port"/>
  114. <target chassis="9" port="0x18"/>
  115. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
  116. </controller>
  117. <controller type="virtio-serial" index="0">
  118. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  119. </controller>
  120. <interface type="network">
  121. <mac address="52:54:00:33:54:18"/>
  122. <source network="default"/>
  123. <model type="e1000e"/>
  124. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  125. </interface>
  126. <serial type="pty">
  127. <target type="isa-serial" port="0">
  128. <model name="isa-serial"/>
  129. </target>
  130. </serial>
  131. <console type="pty">
  132. <target type="serial" port="0"/>
  133. </console>
  134. <channel type="spicevmc">
  135. <target type="virtio" name="com.redhat.spice.0"/>
  136. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  137. </channel>
  138. <input type="mouse" bus="ps2"/>
  139. <input type="keyboard" bus="ps2"/>
  140. <graphics type="spice" autoport="yes">
  141. <listen type="address"/>
  142. <image compression="off"/>
  143. </graphics>
  144. <sound model="ich9">
  145. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  146. </sound>
  147. <video>
  148. <model type="virtio" heads="1" primary="yes">
  149. <acceleration accel3d="yes"/>
  150. </model>
  151. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  152. </video>
  153. <hostdev mode="subsystem" type="pci" managed="yes">
  154. <source>
  155. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  156. </source>
  157. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  158. </hostdev>
  159. <hostdev mode="subsystem" type="pci" managed="yes">
  160. <source>
  161. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  162. </source>
  163. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  164. </hostdev>
  165. <hostdev mode="subsystem" type="pci" managed="yes">
  166. <source>
  167. <address domain="0x0000" bus="0x01" slot="0x00" function="0x2"/>
  168. </source>
  169. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  170. </hostdev>
  171. <hostdev mode="subsystem" type="pci" managed="yes">
  172. <source>
  173. <address domain="0x0000" bus="0x01" slot="0x00" function="0x3"/>
  174. </source>
  175. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  176. </hostdev>
  177. <redirdev bus="usb" type="spicevmc">
  178. <address type="usb" bus="0" port="1"/>
  179. </redirdev>
  180. <redirdev bus="usb" type="spicevmc">
  181. <address type="usb" bus="0" port="2"/>
  182. </redirdev>
  183. <memballoon model="virtio">
  184. <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  185. </memballoon>
  186. </devices>
  187. <qemu:commandline>
  188. <qemu:arg value="-acpitable"/>
  189. <qemu:arg value="file=/var/lib/libvirt/images/SSDT1.dat"/>
  190. <qemu:arg value="-overcommit"/>
  191. <qemu:arg value="cpu-pm=on"/>
  192. </qemu:commandline>
  193. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement