Guest User

Untitled

a guest
Jan 21st, 2022
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.84 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>win10</name>
  3. <uuid></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"></memory>
  10. <currentMemory unit="KiB"></currentMemory>
  11. <vcpu placement="static">8</vcpu>
  12. <os>
  13. <type arch="x86_64" machine="pc-q35-4.2">hvm</type>
  14. <boot dev="hd"/>
  15. </os>
  16. <features>
  17. <acpi/>
  18. <apic/>
  19. <hyperv>
  20. <relaxed state="on"/>
  21. <vapic state="on"/>
  22. <spinlocks state="on" retries="8191"/>
  23. </hyperv>
  24. <vmport state="off"/>
  25. </features>
  26. <cpu mode="host-model" check="partial"/>
  27. <clock offset="localtime">
  28. <timer name="rtc" tickpolicy="catchup"/>
  29. <timer name="pit" tickpolicy="delay"/>
  30. <timer name="hpet" present="no"/>
  31. <timer name="hypervclock" present="yes"/>
  32. </clock>
  33. <on_poweroff>destroy</on_poweroff>
  34. <on_reboot>restart</on_reboot>
  35. <on_crash>destroy</on_crash>
  36. <pm>
  37. <suspend-to-mem enabled="no"/>
  38. <suspend-to-disk enabled="no"/>
  39. </pm>
  40. <devices>
  41. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  42. <disk type="file" device="disk">
  43. <driver name="qemu" type="qcow2"/>
  44. <source file="/home/ubuntu/mnt/win10bios.qcow2"/>
  45. <target dev="sda" bus="sata"/>
  46. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  47. </disk>
  48. <disk type="file" device="cdrom">
  49. <driver name="qemu" type="raw"/>
  50. <source file="/home/ubuntu/spice.iso"/>
  51. <target dev="sdb" bus="sata"/>
  52. <readonly/>
  53. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  54. </disk>
  55. <controller type="usb" index="0" model="qemu-xhci" ports="15">
  56. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  57. </controller>
  58. <controller type="sata" index="0">
  59. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  60. </controller>
  61. <controller type="pci" index="0" model="pcie-root"/>
  62. <controller type="pci" index="1" model="pcie-root-port">
  63. <model name="pcie-root-port"/>
  64. <target chassis="1" port="0x18"/>
  65. <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
  66. </controller>
  67. <controller type="pci" index="2" model="pcie-root-port">
  68. <model name="pcie-root-port"/>
  69. <target chassis="2" port="0x11"/>
  70. <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x1"/>
  71. </controller>
  72. <controller type="pci" index="3" model="pcie-root-port">
  73. <model name="pcie-root-port"/>
  74. <target chassis="3" port="0x12"/>
  75. <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x2"/>
  76. </controller>
  77. <controller type="pci" index="4" model="pcie-root-port">
  78. <model name="pcie-root-port"/>
  79. <target chassis="4" port="0x13"/>
  80. <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x3"/>
  81. </controller>
  82. <controller type="pci" index="5" model="pcie-root-port">
  83. <model name="pcie-root-port"/>
  84. <target chassis="5" port="0x14"/>
  85. <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x4"/>
  86. </controller>
  87. <controller type="pci" index="6" model="pcie-root-port">
  88. <model name="pcie-root-port"/>
  89. <target chassis="6" port="0x15"/>
  90. <address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x5"/>
  91. </controller>
  92. <controller type="virtio-serial" index="0">
  93. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  94. </controller>
  95. <interface type="network">
  96. <mac address=""/>
  97. <source network="default"/>
  98. <model type="e1000e"/>
  99. <link state="up"/>
  100. <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  101. </interface>
  102. <serial type="pty">
  103. <target type="isa-serial" port="0">
  104. <model name="isa-serial"/>
  105. </target>
  106. </serial>
  107. <console type="pty">
  108. <target type="serial" port="0"/>
  109. </console>
  110. <channel type="spicevmc">
  111. <target type="virtio" name="com.redhat.spice.0"/>
  112. <address type="virtio-serial" controller="0" bus="0" port="1"/>
  113. </channel>
  114. <input type="tablet" bus="usb">
  115. <address type="usb" bus="0" port="1"/>
  116. </input>
  117. <input type="mouse" bus="ps2"/>
  118. <input type="keyboard" bus="ps2"/>
  119. <graphics type="spice" autoport="yes">
  120. <listen type="address"/>
  121. </graphics>
  122. <sound model="ich9">
  123. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  124. </sound>
  125. <video>
  126. <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  127. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
  128. </video>
  129. <hostdev mode="subsystem" type="pci" managed="yes">
  130. <source>
  131. <address domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  132. </source>
  133. <rom file="VegaM.rom"/>
  134. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0" multifunction="on"/>
  135. </hostdev>
  136. <hostdev mode="subsystem" type="pci" managed="yes">
  137. <source>
  138. <address domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  139. </source>
  140. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x1"/>
  141. </hostdev>
  142. <redirdev bus="usb" type="spicevmc">
  143. <address type="usb" bus="0" port="2"/>
  144. </redirdev>
  145. <redirdev bus="usb" type="spicevmc">
  146. <address type="usb" bus="0" port="3"/>
  147. </redirdev>
  148. <memballoon model="none"/>
  149. </devices>
  150. <qemu:commandline>
  151. <qemu:arg value="-cpu"/>
  152. <qemu:arg value="host,kvm=off,-hypervisor"/>
  153. </qemu:commandline>
  154. </domain>
Advertisement
Add Comment
Please, Sign In to add comment