Advertisement
Guest User

Untitled

a guest
Nov 13th, 2020
542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.92 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>win10</name>
  3. <uuid>2e362317-eb30-4f62-aad2-9348a8db38cc</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">8388608</memory>
  10. <currentMemory unit="KiB">8388608</currentMemory>
  11. <vcpu placement="static">12</vcpu>
  12. <os>
  13. <type arch="x86_64" machine="pc-q35-5.1">hvm</type>
  14. <loader readonly="yes" type="pflash">/usr/share/edk2-ovmf/x64/OVMF_CODE.fd</loader>
  15. <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  16. <boot dev="hd"/>
  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. <vendor_id state="on" value="3dfx"/>
  26. </hyperv>
  27. <kvm>
  28. <hidden state="on"/>
  29. <hint-dedicated state="on"/>
  30. </kvm>
  31. <vmport state="off"/>
  32. </features>
  33. <cpu mode="host-passthrough" check="none" migratable="on">
  34. <topology sockets="1" dies="1" cores="6" threads="2"/>
  35. <cache mode="passthrough"/>
  36. <feature policy="require" name="invtsc"/>
  37. <feature policy="require" name="topoext"/>
  38. <feature policy="disable" name="hypervisor"/>
  39. </cpu>
  40. <clock offset="localtime">
  41. <timer name="rtc" tickpolicy="catchup"/>
  42. <timer name="pit" tickpolicy="delay"/>
  43. <timer name="hpet" present="no"/>
  44. <timer name="hypervclock" present="yes"/>
  45. </clock>
  46. <on_poweroff>destroy</on_poweroff>
  47. <on_reboot>restart</on_reboot>
  48. <on_crash>destroy</on_crash>
  49. <pm>
  50. <suspend-to-mem enabled="no"/>
  51. <suspend-to-disk enabled="no"/>
  52. </pm>
  53. <devices>
  54. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  55. <disk type="file" device="disk">
  56. <driver name="qemu" type="qcow2"/>
  57. <source file="/home/pipodi/win10.qcow2"/>
  58. <target dev="sda" bus="scsi"/>
  59. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  60. </disk>
  61. <disk type="file" device="cdrom">
  62. <driver name="qemu" type="raw"/>
  63. <source file="/home/pipodi/Downloads/Win10_20H2_English_x64.iso"/>
  64. <target dev="sdb" bus="sata"/>
  65. <readonly/>
  66. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  67. </disk>
  68. <disk type="file" device="cdrom">
  69. <driver name="qemu" type="raw"/>
  70. <source file="/home/pipodi/Downloads/virtio-win-0.1.185.iso"/>
  71. <target dev="sdc" bus="sata"/>
  72. <readonly/>
  73. <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  74. </disk>
  75. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  76. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  77. </controller>
  78. <controller type="scsi" index="0" model="virtio-scsi">
  79. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  80. </controller>
  81. <controller type="sata" index="0">
  82. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  83. </controller>
  84. <controller type="pci" index="0" model="pcie-root"/>
  85. <controller type="pci" index="1" model="pcie-root-port">
  86. <model name="pcie-root-port"/>
  87. <target chassis="1" port="0x8"/>
  88. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  89. </controller>
  90. <controller type="pci" index="2" model="pcie-root-port">
  91. <model name="pcie-root-port"/>
  92. <target chassis="2" port="0x9"/>
  93. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  94. </controller>
  95. <controller type="pci" index="3" model="pcie-root-port">
  96. <model name="pcie-root-port"/>
  97. <target chassis="3" port="0xa"/>
  98. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  99. </controller>
  100. <controller type="pci" index="4" model="pcie-root-port">
  101. <model name="pcie-root-port"/>
  102. <target chassis="4" port="0xb"/>
  103. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x3"/>
  104. </controller>
  105. <controller type="pci" index="5" model="pcie-root-port">
  106. <model name="pcie-root-port"/>
  107. <target chassis="5" port="0xc"/>
  108. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x4"/>
  109. </controller>
  110. <controller type="pci" index="6" model="pcie-root-port">
  111. <model name="pcie-root-port"/>
  112. <target chassis="6" port="0xd"/>
  113. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x5"/>
  114. </controller>
  115. <controller type="pci" index="7" model="pcie-root-port">
  116. <model name="pcie-root-port"/>
  117. <target chassis="7" port="0xe"/>
  118. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x6"/>
  119. </controller>
  120. <controller type="pci" index="8" model="pcie-root-port">
  121. <model name="pcie-root-port"/>
  122. <target chassis="8" port="0xf"/>
  123. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x7"/>
  124. </controller>
  125. <controller type="pci" index="9" model="pcie-root-port">
  126. <model name="pcie-root-port"/>
  127. <target chassis="9" port="0x10"/>
  128. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
  129. </controller>
  130. <interface type="network">
  131. <mac address="52:54:00:cd:f8:4c"/>
  132. <source network="default"/>
  133. <model type="e1000e"/>
  134. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  135. </interface>
  136. <input type="mouse" bus="ps2"/>
  137. <input type="keyboard" bus="ps2"/>
  138. <hostdev mode="subsystem" type="pci" managed="yes">
  139. <source>
  140. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  141. </source>
  142. <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
  143. </hostdev>
  144. <hostdev mode="subsystem" type="pci" managed="yes">
  145. <source>
  146. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  147. </source>
  148. <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
  149. </hostdev>
  150. <hostdev mode="subsystem" type="pci" managed="yes">
  151. <source>
  152. <address domain="0x0000" bus="0x01" slot="0x00" function="0x2"/>
  153. </source>
  154. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  155. </hostdev>
  156. <hostdev mode="subsystem" type="pci" managed="yes">
  157. <source>
  158. <address domain="0x0000" bus="0x01" slot="0x00" function="0x3"/>
  159. </source>
  160. <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/>
  161. </hostdev>
  162. <hostdev mode="subsystem" type="usb" managed="yes">
  163. <source>
  164. <vendor id="0x258a"/>
  165. <product id="0x0036"/>
  166. <address bus="1" device="2"/>
  167. </source>
  168. <address type="usb" bus="0" port="3"/>
  169. </hostdev>
  170. <hostdev mode="subsystem" type="usb" managed="yes">
  171. <source>
  172. <vendor id="0x04d9"/>
  173. <product id="0xa293"/>
  174. <address bus="1" device="6"/>
  175. </source>
  176. <address type="usb" bus="0" port="4"/>
  177. </hostdev>
  178. <redirdev bus="usb" type="spicevmc">
  179. <address type="usb" bus="0" port="1"/>
  180. </redirdev>
  181. <redirdev bus="usb" type="spicevmc">
  182. <address type="usb" bus="0" port="2"/>
  183. </redirdev>
  184. <memballoon model="virtio">
  185. <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/>
  186. </memballoon>
  187. </devices>
  188. <qemu:commandline>
  189. <qemu:arg value="-smbios"/>
  190. <qemu:arg value="type=0,vendor=American Megatrends Inc.,version=2402,date=XXXXXX,release=XXXXXX,uefi=on"/>
  191. <qemu:arg value="-smbios"/>
  192. <qemu:arg value="type=1,manufacturer=System manufacturer,product=System Product Name,version=System Version,serial=System Serial Number,uuid=XXXXXXXXXXX,sku=,family=To be filled by O.E.M."/>
  193. </qemu:commandline>
  194. </domain>
  195.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement