Advertisement
Guest User

VM

a guest
Jun 27th, 2016
790
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. <domain type='kvm'>
  2. <name>csgo</name>
  3. <uuid>7d333de0-3978-f5d4-b661-5d8e312faf18</uuid>
  4. <metadata>
  5. <vmtemplate name="Custom" icon="ubuntu.png" os="ubuntu"/>
  6. </metadata>
  7. <memory unit='KiB'>524288</memory>
  8. <currentMemory unit='KiB'>524288</currentMemory>
  9. <memoryBacking>
  10. <nosharepages/>
  11. <locked/>
  12. </memoryBacking>
  13. <vcpu placement='static'>1</vcpu>
  14. <cputune>
  15. <vcpupin vcpu='0' cpuset='0'/>
  16. </cputune>
  17. <os>
  18. <type arch='x86_64' machine='pc-q35-2.3'>hvm</type>
  19. </os>
  20. <features>
  21. <acpi/>
  22. <apic/>
  23. </features>
  24. <cpu mode='host-passthrough'>
  25. <topology sockets='1' cores='1' threads='1'/>
  26. </cpu>
  27. <clock offset='utc'>
  28. <timer name='rtc' tickpolicy='catchup'/>
  29. <timer name='pit' tickpolicy='delay'/>
  30. <timer name='hpet' present='no'/>
  31. </clock>
  32. <on_poweroff>destroy</on_poweroff>
  33. <on_reboot>restart</on_reboot>
  34. <on_crash>restart</on_crash>
  35. <devices>
  36. <emulator>/usr/bin/qemu-system-x86_64</emulator>
  37. <disk type='file' device='disk'>
  38. <driver name='qemu' type='raw' cache='writeback'/>
  39. <source file='/mnt/cache/VM/csgo/csgo/vdisk1.img'/>
  40. <target dev='hdb' bus='virtio'/>
  41. <boot order='1'/>
  42. <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
  43. </disk>
  44. <disk type='file' device='cdrom'>
  45. <driver name='qemu' type='raw'/>
  46. <source file='/mnt/cache/VM/iso/ubuntu-16.04-server-amd64.iso'/>
  47. <target dev='hda' bus='sata'/>
  48. <readonly/>
  49. <boot order='2'/>
  50. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  51. </disk>
  52. <controller type='usb' index='0' model='ich9-ehci1'>
  53. <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x7'/>
  54. </controller>
  55. <controller type='usb' index='0' model='ich9-uhci1'>
  56. <master startport='0'/>
  57. <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0' multifunction='on'/>
  58. </controller>
  59. <controller type='sata' index='0'>
  60. <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
  61. </controller>
  62. <controller type='pci' index='0' model='pcie-root'/>
  63. <controller type='pci' index='1' model='dmi-to-pci-bridge'>
  64. <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
  65. </controller>
  66. <controller type='pci' index='2' model='pci-bridge'>
  67. <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
  68. </controller>
  69. <controller type='virtio-serial' index='0'>
  70. <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
  71. </controller>
  72. <interface type='bridge'>
  73. <mac address='52:54:00:f3:1a:93'/>
  74. <source bridge='virbr0'/>
  75. <model type='virtio'/>
  76. <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
  77. </interface>
  78. <serial type='pty'>
  79. <target port='0'/>
  80. </serial>
  81. <console type='pty'>
  82. <target type='serial' port='0'/>
  83. </console>
  84. <channel type='unix'>
  85. <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/csgo.org.qemu.guest_agent.0'/>
  86. <target type='virtio' name='org.qemu.guest_agent.0'/>
  87. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  88. </channel>
  89. <input type='tablet' bus='usb'/>
  90. <input type='mouse' bus='ps2'/>
  91. <input type='keyboard' bus='ps2'/>
  92. <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='de-ch'>
  93. <listen type='address' address='0.0.0.0'/>
  94. </graphics>
  95. <video>
  96. <model type='vmvga' vram='16384' heads='1'/>
  97. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  98. </video>
  99. <memballoon model='virtio'>
  100. <address type='pci' domain='0x0000' bus='0x02' slot='0x05' function='0x0'/>
  101. </memballoon>
  102. </devices>
  103. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement