Guest User

vm xml

a guest
Jan 13th, 2022
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.61 KB | None | 0 0
  1. <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
  2. <name>macOS-Simple-KVM</name>
  3. <uuid>d06d502a-904a-4b34-847d-debf1a3d76c7</uuid>
  4. <memory unit="KiB">2097152</memory>
  5. <currentMemory unit="KiB">2097152</currentMemory>
  6. <vcpu placement="static">2</vcpu>
  7. <os>
  8. <type arch="x86_64" machine="pc-q35-6.0">hvm</type>
  9. <loader readonly="yes" type="pflash">/home/glutenfree/macOS-Simple-KVM/firmware/OVMF_CODE.fd</loader>
  10. <nvram>/home/glutenfree/macOS-Simple-KVM/firmware/OVMF_VARS-1024x768.fd</nvram>
  11. <boot dev="hd"/>
  12. </os>
  13. <features>
  14. <acpi/>
  15. <apic/>
  16. <hyperv>
  17. <relaxed state="on"/>
  18. <vapic state="on"/>
  19. <spinlocks state="on" retries="8191"/>
  20. <vendor_id state="on" value="123456789123"/>
  21. </hyperv>
  22. <kvm>
  23. <hidden state="on"/>
  24. </kvm>
  25. <vmport state="off"/>
  26. <ioapic driver="kvm"/>
  27. </features>
  28. <cpu mode="host-passthrough" check="none" migratable="on">
  29. <topology sockets="1" dies="1" cores="2" threads="1"/>
  30. <feature policy="require" name="topoext"/>
  31. </cpu>
  32. <clock offset="utc">
  33. <timer name="rtc" tickpolicy="catchup"/>
  34. <timer name="pit" tickpolicy="delay"/>
  35. <timer name="hpet" present="no"/>
  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="/home/glutenfree/macOS-Simple-KVM/ESP.qcow2"/>
  49. <target dev="sda" bus="sata"/>
  50. <address type="drive" controller="0" bus="0" target="0" unit="0"/>
  51. </disk>
  52. <disk type="file" device="disk">
  53. <driver name="qemu" type="raw"/>
  54. <source file="/home/glutenfree/macOS-Simple-KVM/BaseSystem.img"/>
  55. <target dev="sdb" bus="sata"/>
  56. <address type="drive" controller="0" bus="0" target="0" unit="1"/>
  57. </disk>
  58. <disk type="file" device="disk">
  59. <driver name="qemu" type="qcow2"/>
  60. <source file="/home/glutenfree/macOS-Simple-KVM/MyDisk.qcow2"/>
  61. <target dev="sdc" bus="sata"/>
  62. <address type="drive" controller="0" bus="0" target="0" unit="2"/>
  63. </disk>
  64. <controller type="usb" index="0" model="ich9-ehci1">
  65. <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x7"/>
  66. </controller>
  67. <controller type="usb" index="0" model="ich9-uhci1">
  68. <master startport="0"/>
  69. <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x0" multifunction="on"/>
  70. </controller>
  71. <controller type="usb" index="0" model="ich9-uhci2">
  72. <master startport="2"/>
  73. <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x1"/>
  74. </controller>
  75. <controller type="usb" index="0" model="ich9-uhci3">
  76. <master startport="4"/>
  77. <address type="pci" domain="0x0000" bus="0x00" slot="0x1d" function="0x2"/>
  78. </controller>
  79. <controller type="sata" index="0">
  80. <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
  81. </controller>
  82. <controller type="pci" index="0" model="pcie-root"/>
  83. <controller type="pci" index="1" model="pcie-root-port">
  84. <model name="pcie-root-port"/>
  85. <target chassis="1" port="0x8"/>
  86. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0" multifunction="on"/>
  87. </controller>
  88. <controller type="pci" index="2" model="pcie-root-port">
  89. <model name="pcie-root-port"/>
  90. <target chassis="2" port="0x9"/>
  91. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
  92. </controller>
  93. <controller type="pci" index="3" model="pcie-root-port">
  94. <model name="pcie-root-port"/>
  95. <target chassis="3" port="0xa"/>
  96. <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
  97. </controller>
  98. <interface type="network">
  99. <mac address="52:54:00:92:d4:7b"/>
  100. <source network="default"/>
  101. <model type="e1000-82545em"/>
  102. <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
  103. </interface>
  104. <serial type="pty">
  105. <target type="isa-serial" port="0">
  106. <model name="isa-serial"/>
  107. </target>
  108. </serial>
  109. <console type="pty">
  110. <target type="serial" port="0"/>
  111. </console>
  112. <input type="mouse" bus="ps2"/>
  113. <input type="keyboard" bus="ps2"/>
  114. <sound model="ich9">
  115. <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
  116. </sound>
  117. <audio id="1" type="none"/>
  118. <hostdev mode="subsystem" type="pci" managed="yes">
  119. <source>
  120. <address domain="0x0000" bus="0x10" slot="0x00" function="0x0"/>
  121. </source>
  122. <rom file="usr/share/vgabios/1050ti.rom"/>
  123. <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
  124. </hostdev>
  125. <hostdev mode="subsystem" type="pci" managed="yes">
  126. <source>
  127. <address domain="0x0000" bus="0x10" slot="0x00" function="0x1"/>
  128. </source>
  129. <rom file="usr/share/vgabios/1050ti.rom"/>
  130. <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
  131. </hostdev>
  132. <hostdev mode="subsystem" type="pci" managed="yes">
  133. <source>
  134. <address domain="0x0000" bus="0x38" slot="0x00" function="0x6"/>
  135. </source>
  136. <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
  137. </hostdev>
  138. <hostdev mode="subsystem" type="usb" managed="yes">
  139. <source>
  140. <vendor id="0x046d"/>
  141. <product id="0xc534"/>
  142. </source>
  143. <address type="usb" bus="0" port="1"/>
  144. </hostdev>
  145. <hostdev mode="subsystem" type="usb" managed="yes">
  146. <source>
  147. <vendor id="0x2357"/>
  148. <product id="0x0109"/>
  149. </source>
  150. <address type="usb" bus="0" port="2"/>
  151. </hostdev>
  152. <redirdev bus="usb" type="spicevmc">
  153. <address type="usb" bus="0" port="3"/>
  154. </redirdev>
  155. <redirdev bus="usb" type="spicevmc">
  156. <address type="usb" bus="0" port="4"/>
  157. </redirdev>
  158. <memballoon model="none"/>
  159. </devices>
  160. <qemu:commandline>
  161. <qemu:arg value="-cpu"/>
  162. <qemu:arg value="Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"/>
  163. <qemu:arg value="-device"/>
  164. <qemu:arg value="isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"/>
  165. <qemu:arg value="-smbios"/>
  166. <qemu:arg value="type=2"/>
  167. </qemu:commandline>
  168. </domain>
  169.  
Advertisement
Add Comment
Please, Sign In to add comment