Advertisement
Guest User

Untitled

a guest
Sep 28th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.93 KB | None | 0 0
  1. <domain type='kvm' id='7'>
  2. <name>vm_name</name>
  3. <uuid>f89f1c7a-f47a-4498-887d-3b66067e26c4</uuid>
  4. <memory unit='KiB'>1048576</memory>
  5. <currentMemory unit='KiB'>524288</currentMemory>
  6. <vcpu placement='static'>1</vcpu>
  7. <resource>
  8. <partition>/machine</partition>
  9. </resource>
  10. <os>
  11. <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
  12. <boot dev='cdrom'/>
  13. <boot dev='hd'/>
  14. <bootmenu enable='yes'/>
  15. </os>
  16. <features>
  17. <acpi/>
  18. <apic/>
  19. <pae/>
  20. </features>
  21. <cpu mode='custom' match='exact'>
  22. <model fallback='allow'>n270</model>
  23. </cpu>
  24. <clock offset='utc'>
  25. <timer name='rtc' tickpolicy='catchup'/>
  26. <timer name='pit' tickpolicy='delay'/>
  27. <timer name='hpet' present='no'/>
  28. </clock>
  29. <on_poweroff>destroy</on_poweroff>
  30. <on_reboot>restart</on_reboot>
  31. <on_crash>restart</on_crash>
  32. <devices>
  33. <emulator>/usr/bin/kvm</emulator>
  34. <disk type='block' device='disk'>
  35. <driver name='qemu' type='raw' cache='none' io='native'/>
  36. <source dev='/dev/vg0/vm_vm_name'/>
  37. <backingStore/>
  38. <target dev='vda' bus='virtio'/>
  39. <alias name='virtio-disk0'/>
  40. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  41. </disk>
  42. <disk type='file' device='cdrom'>
  43. <driver name='qemu' type='raw'/>
  44. <source file='/mnt/sabo/debian-7.7.0-amd64-netinst.iso'/>
  45. <backingStore/>
  46. <target dev='hdc' bus='ide'/>
  47. <readonly/>
  48. <alias name='ide0-1-0'/>
  49. <address type='drive' controller='0' bus='1' target='0' unit='0'/>
  50. </disk>
  51. <controller type='usb' index='0' model='ich9-ehci1'>
  52. <alias name='usb0'/>
  53. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x7'/>
  54. </controller>
  55. <controller type='usb' index='0' model='ich9-uhci1'>
  56. <alias name='usb0'/>
  57. <master startport='0'/>
  58. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0' multifunction='on'/>
  59. </controller>
  60. <controller type='usb' index='0' model='ich9-uhci2'>
  61. <alias name='usb0'/>
  62. <master startport='2'/>
  63. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x1'/>
  64. </controller>
  65. <controller type='usb' index='0' model='ich9-uhci3'>
  66. <alias name='usb0'/>
  67. <master startport='4'/>
  68. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x2'/>
  69. </controller>
  70. <controller type='pci' index='0' model='pci-root'>
  71. <alias name='pci.0'/>
  72. </controller>
  73. <controller type='ide' index='0'>
  74. <alias name='ide0'/>
  75. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  76. </controller>
  77. <interface type='bridge'>
  78. <mac address='52:54:00:a9:17:bb'/>
  79. <source bridge='br0'/>
  80. <target dev='vnet0'/>
  81. <model type='virtio'/>
  82. <alias name='net0'/>
  83. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  84. </interface>
  85. <serial type='pty'>
  86. <source path='/dev/pts/3'/>
  87. <target port='0'/>
  88. <alias name='serial0'/>
  89. </serial>
  90. <console type='pty' tty='/dev/pts/3'>
  91. <source path='/dev/pts/3'/>
  92. <target type='serial' port='0'/>
  93. <alias name='serial0'/>
  94. </console>
  95. <input type='tablet' bus='usb'>
  96. <alias name='input0'/>
  97. </input>
  98. <input type='mouse' bus='ps2'/>
  99. <input type='keyboard' bus='ps2'/>
  100. <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
  101. <listen type='address' address='127.0.0.1'/>
  102. </graphics>
  103. <video>
  104. <model type='cirrus' vram='9216' heads='1'/>
  105. <alias name='video0'/>
  106. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  107. </video>
  108. <memballoon model='virtio'>
  109. <alias name='balloon0'/>
  110. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  111. </memballoon>
  112. </devices>
  113. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement