Advertisement
Guest User

Untitled

a guest
Dec 26th, 2015
921
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2. <name>OSX-El-Capitan-10.11-VNC</name>
  3. <uuid>0ba39646-7ba1-4d41-9602-e2968b2fe36d</uuid>
  4. <metadata>
  5. <type>None</type>
  6. </metadata>
  7. <memory unit='KiB'>4194304</memory>
  8. <currentMemory unit='KiB'>4194304</currentMemory>
  9. <vcpu placement='static'>2</vcpu>
  10. <cputune>
  11. <vcpupin vcpu='0' cpuset='0'/>
  12. <vcpupin vcpu='1' cpuset='1'/>
  13. </cputune>
  14. <resource>
  15. <partition>/machine</partition>
  16. </resource>
  17. <os>
  18. <type arch='x86_64' machine='pc-q35-2.4'>hvm</type>
  19. <kernel>/mnt/cache/vm_images/enoch_rev2795_boot</kernel>
  20. <boot dev='hd'/>
  21. <bootmenu enable='yes'/>
  22. </os>
  23. <features>
  24. <acpi/>
  25. <kvm>
  26. <hidden state='on'/>
  27. </kvm>
  28. </features>
  29. <cpu mode='custom' match='exact'>
  30. <model fallback='allow'>core2duo</model>
  31. </cpu>
  32. <clock offset='utc'/>
  33. <on_poweroff>destroy</on_poweroff>
  34. <on_reboot>restart</on_reboot>
  35. <on_crash>destroy</on_crash>
  36. <devices>
  37. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  38. <disk type='file' device='disk'>
  39. <driver name='qemu' type='raw'/>
  40. <source file='/mnt/cache/vm_images/ElCapitan.img'/>
  41. <target dev='hda' bus='sata'/>
  42. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  43. </disk>
  44. <controller type='usb' index='0'>
  45. <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
  46. </controller>
  47. <controller type='sata' index='0'>
  48. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  49. </controller>
  50. <controller type='pci' index='0' model='pcie-root'/>
  51. <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  52. <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
  53. </controller>
  54. <controller type='pci' index='2' model='pci-bridge'>
  55. <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
  56. </controller>
  57. <interface type='bridge'>
  58. <mac address='52:54:00:00:20:30'/>
  59. <source bridge='virbr0'/>
  60. <model type='e1000-82545em'/>
  61. <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
  62. </interface>
  63. <input type='mouse' bus='ps2'/>
  64. <input type='keyboard' bus='ps2'/>
  65. <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
  66. <listen type='address' address='0.0.0.0'/>
  67. </graphics>
  68. <video>
  69. <model type='vmvga' vram='16384' heads='1'/>
  70. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  71. </video>
  72. <memballoon model='none'/>
  73. </devices>
  74. <seclabel type='none' model='none'/>
  75. <qemu:commandline>
  76. <qemu:arg value='-device'/>
  77. <qemu:arg value='usb-kbd'/>
  78. <qemu:arg value='-device'/>
  79. <qemu:arg value='usb-mouse'/>
  80. <qemu:arg value='-device'/>
  81. <qemu:arg value='isa-applesmc,osk=64_Character_OSK_Key'/>
  82. <qemu:arg value='-smbios'/>
  83. <qemu:arg value='type=2'/>
  84. <qemu:arg value='-device'/>
  85. <qemu:arg value='ide-drive,bus=ide.1,drive=MacDVD'/>
  86. <qemu:arg value='-drive'/>
  87. <qemu:arg value='id=MacDVD,if=none,snapshot=on,file=/mnt/cache/vm_images/Install_OS_X_10.11_El_Capitan.iso'/>
  88. </qemu:commandline>
  89. </domain>
  90.  
  91. qemu-system-x86_64 -enable-kvm -m 4096 -cpu core2duo,kvm=off \
  92. -machine pc-q35-2.4 \
  93. -smp 2,cores=2 \
  94. -usb -device usb-kbd -device usb-mouse \
  95. -device isa-applesmc,osk="64_Character_OSK_Key" \
  96. -kernel /mnt/cache/vm_images/enoch_rev2795_boot \
  97. -smbios type=2 \
  98. -device ide-drive,bus=ide.2,drive=MacHDD \
  99. -drive id=MacHDD,if=none,format=raw,file=/mnt/cache/vm_images/ElCapitan.img \
  100. -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \
  101. -monitor stdio \
  102. -device ide-drive,bus=ide.0,drive=MacDVD \
  103. -drive id=MacDVD,if=none,snapshot=on,file=/mnt/cache/vm_images/Install_OS_X_10.11_El_Capitan.iso
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement