Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2013
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2. <name>ubuntu-vm</name>
  3. <uuid>f14034aa-28ff-1a85-255f-ccb1985d149d</uuid>
  4. <memory>2097152</memory>
  5. <currentMemory>2097152</currentMemory>
  6. <vcpu>2</vcpu>
  7. <os>
  8. <type arch='x86_64' machine='pc-1.0'>hvm</type>
  9. <boot dev='hd'/>
  10. </os>
  11. <features>
  12. <acpi/>
  13. <apic/>
  14. <pae/>
  15. </features>
  16. <clock offset='utc'/>
  17. <on_poweroff>destroy</on_poweroff>
  18. <on_reboot>restart</on_reboot>
  19. <on_crash>restart</on_crash>
  20. <devices>
  21. <emulator>/usr/bin/kvm</emulator>
  22. <disk type='file' device='disk'>
  23. <driver name='qemu' type='raw'/>
  24. <source file='/var/lib/libvirt/images/ubuntu.vm.img'/>
  25. <target dev='vda' bus='virtio'/>
  26. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  27. </disk>
  28. <disk type='block' device='cdrom'>
  29. <driver name='qemu' type='raw'/>
  30. <target dev='hdc' bus='ide'/>
  31. <readonly/>
  32. <address type='drive' controller='0' bus='1' unit='0'/>
  33. </disk>
  34. <controller type='ide' index='0'>
  35. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  36. </controller>
  37. <interface type='user'>
  38. <mac address='52:54:00:93:ac:e1'/>
  39. <model type='virtio'/>
  40. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  41. </interface>
  42. <serial type='pty'>
  43. <target port='0'/>
  44. </serial>
  45. <console type='pty'>
  46. <target type='serial' port='0'/>
  47. </console>
  48. <input type='mouse' bus='ps2'/>
  49. <graphics type='vnc' port='-1' autoport='yes'/>
  50. <sound model='ich6'>
  51. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  52. </sound>
  53. <video>
  54. <model type='vga' vram='9216' heads='1'/>
  55. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  56. </video>
  57. <memballoon model='virtio'>
  58. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  59. </memballoon>
  60. </devices>
  61. <qemu:commandline>
  62. <qemu:arg value='-redir'/>
  63. <qemu:arg value='tcp:5565::80'/>
  64. </qemu:commandline>
  65. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement