Advertisement
Guest User

xml

a guest
Jan 20th, 2022
12
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <domain type="kvm">
  2. <name>win10</name>
  3. <uuid>d976e18d-269a-4ac6-b8c6-01b422670f49</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">33554432</memory>
  10. <currentMemory unit="KiB">33554432</currentMemory>
  11. <vcpu placement="static">8</vcpu>
  12. <os>
  13. <type arch="x86_64" machine="pc-q35-6.1">hvm</type>
  14. <loader readonly="yes" type="pflash">/usr/share/edk2/ovmf/OVMF_CODE.fd</loader>
  15. <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  16. <bootmenu enable="yes"/>
  17. </os>
  18. <features>
  19. <acpi/>
  20. <apic/>
  21. <hyperv>
  22. <relaxed state="on"/>
  23. <vapic state="on"/>
  24. <spinlocks state="on" retries="8191"/>
  25. </hyperv>
  26. <vmport state="off"/>
  27. </features>
  28. <cpu mode="host-passthrough" check="none" migratable="on">
  29. <topology sockets="1" dies="1" cores="4" threads="2"/>
  30. </cpu>
  31. <clock offset="utc">
  32. <timer name="rtc" tickpolicy="catchup"/>
  33. <timer name="pit" tickpolicy="delay"/>
  34. <timer name="hpet" present="no"/>
  35. <timer name="hypervclock" present="yes"/>
  36. </clock>
  37. <on_poweroff>destroy</on_poweroff>
  38. <on_reboot>restart</on_reboot>
  39. <on_crash>destroy</on_crash>
  40. <pm>
  41. <suspend-to-mem enabled="no"/>
  42. <suspend-to-disk enabled="no"/>
  43. </pm>
  44. <devices>
  45. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  46. <disk type="file" device="disk">
  47. <driver name="qemu" type="qcow2"/>
  48. <source file="/var/lib/libvirt/images/win10.qcow2"/>
  49. <target dev="vda" bus="virtio"/>
  50. <boot order="1"/>
  51. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  52. </disk>
  53. <disk type="file" device="cdrom">
  54. <driver name="qemu" type="raw"/>
  55. <source file="/home/disco/Documents/Win10_21H2_English_x64.iso"/>
  56. <target dev="sdb" bus="sata"/>
  57. <readonly/>
  58. <boot order="2"/>
  59. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  60. </disk>
  61. <disk type="file" device="cdrom">
  62. <driver name="qemu" type="raw"/>
  63. <source file="/home/disco/Documents/virtio-win-0.1.215.iso"/>
  64. <target dev="sdc" bus="sata"/>
  65. <readonly/>
  66. <boot order="3"/>
  67. <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  68. </disk>
  69. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  70. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  71. </controller>
  72. <controller type="sata" index="0">
  73. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  74. </controller>
  75. <controller type="pci" index="0" model="pcie-root"/>
  76. <controller type="pci" index="1" model="pcie-root-port">
  77. <model name="pcie-root-port"/>
  78. <target chassis="1" port="0x10"/>
  79. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
  80. </controller>
  81. <controller type="pci" index="2" model="pcie-root-port">
  82. <model name="pcie-root-port"/>
  83. <target chassis="2" port="0x11"/>
  84. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
  85. </controller>
  86. <controller type="pci" index="3" model="pcie-root-port">
  87. <model name="pcie-root-port"/>
  88. <target chassis="3" port="0x12"/>
  89. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
  90. </controller>
  91. <controller type="pci" index="4" model="pcie-root-port">
  92. <model name="pcie-root-port"/>
  93. <target chassis="4" port="0x13"/>
  94. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
  95. </controller>
  96. <controller type="pci" index="5" model="pcie-root-port">
  97. <model name="pcie-root-port"/>
  98. <target chassis="5" port="0x14"/>
  99. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
  100. </controller>
  101. <controller type="pci" index="6" model="pcie-root-port">
  102. <model name="pcie-root-port"/>
  103. <target chassis="6" port="0x15"/>
  104. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
  105. </controller>
  106. <controller type="pci" index="7" model="pcie-root-port">
  107. <model name="pcie-root-port"/>
  108. <target chassis="7" port="0x16"/>
  109. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/>
  110. </controller>
  111. <controller type="pci" index="8" model="pcie-root-port">
  112. <model name="pcie-root-port"/>
  113. <target chassis="8" port="0x17"/>
  114. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/>
  115. </controller>
  116. <controller type="pci" index="9" model="pcie-root-port">
  117. <model name="pcie-root-port"/>
  118. <target chassis="9" port="0x18"/>
  119. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/>
  120. </controller>
  121. <controller type="pci" index="10" model="pcie-root-port">
  122. <model name="pcie-root-port"/>
  123. <target chassis="10" port="0x19"/>
  124. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/>
  125. </controller>
  126. <controller type="pci" index="11" model="pcie-root-port">
  127. <model name="pcie-root-port"/>
  128. <target chassis="11" port="0x1a"/>
  129. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/>
  130. </controller>
  131. <controller type="pci" index="12" model="pcie-to-pci-bridge">
  132. <model name="pcie-pci-bridge"/>
  133. <address type="pci" domain="0x0000" bus="0x0b" slot="0x00" function="0x0"/>
  134. </controller>
  135. <controller type="virtio-serial" index="0">
  136. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  137. </controller>
  138. <interface type="network">
  139. <mac address="52:54:00:b6:76:31"/>
  140. <source network="default"/>
  141. <model type="virtio"/>
  142. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  143. </interface>
  144. <serial type="pty">
  145. <target type="isa-serial" port="0">
  146. <model name="isa-serial"/>
  147. </target>
  148. </serial>
  149. <console type="pty">
  150. <target type="serial" port="0"/>
  151. </console>
  152. <channel type="spicevmc">
  153. <target type="virtio" name="com.redhat.spice.0"/>
  154. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  155. </channel>
  156. <input type="tablet" bus="usb">
  157. <address type="usb" bus="0" port="1"/>
  158. </input>
  159. <input type="mouse" bus="ps2"/>
  160. <input type="keyboard" bus="ps2"/>
  161. <input type="keyboard" bus="virtio">
  162. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  163. </input>
  164. <input type="mouse" bus="usb">
  165. <address type="usb" bus="0" port="4"/>
  166. </input>
  167. <graphics type="spice">
  168. <listen type="none"/>
  169. <image compression="off"/>
  170. </graphics>
  171. <sound model="ich9">
  172. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  173. </sound>
  174. <audio id="1" type="spice"/>
  175. <video>
  176. <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  177. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  178. </video>
  179. <hostdev mode="subsystem" type="pci" managed="yes">
  180. <source>
  181. <address domain="0x0000" bus="0x82" slot="0x00" function="0x0"/>
  182. </source>
  183. <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  184. </hostdev>
  185. <hostdev mode="subsystem" type="pci" managed="yes">
  186. <source>
  187. <address domain="0x0000" bus="0x82" slot="0x00" function="0x1"/>
  188. </source>
  189. <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/>
  190. </hostdev>
  191. <redirdev bus="usb" type="spicevmc">
  192. <address type="usb" bus="0" port="2"/>
  193. </redirdev>
  194. <redirdev bus="usb" type="spicevmc">
  195. <address type="usb" bus="0" port="3"/>
  196. </redirdev>
  197. <memballoon model="virtio">
  198. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  199. </memballoon>
  200. <rng model="virtio">
  201. <backend model="random">/dev/urandom</backend>
  202. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  203. </rng>
  204. </devices>
  205. </domain>
  206.  
Advertisement
RAW Paste Data Copied
Advertisement