Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. <domain type='kvm'>
  2. <name>test</name>
  3. <uuid>2b308653-9041-4d3c-a58e-491a1e47b0c6</uuid>
  4. <memory unit='KiB'>614400</memory>
  5. <currentMemory unit='KiB'>614400</currentMemory>
  6. <vcpu placement='static'>1</vcpu>
  7. <os>
  8. <type arch='x86_64' machine='pc-i440fx-2.8'>hvm</type>
  9. <bootmenu enable='yes'/>
  10. </os>
  11. <features>
  12. <acpi/>
  13. <apic/>
  14. <vmport state='off'/>
  15. </features>
  16. <cpu mode='custom' match='exact'>
  17. <model fallback='allow'>Opteron_G2</model>
  18. </cpu>
  19. <clock offset='utc'>
  20. <timer name='rtc' tickpolicy='catchup'/>
  21. <timer name='pit' tickpolicy='delay'/>
  22. <timer name='hpet' present='no'/>
  23. </clock>
  24. <on_poweroff>destroy</on_poweroff>
  25. <on_reboot>restart</on_reboot>
  26. <on_crash>restart</on_crash>
  27. <pm>
  28. <suspend-to-mem enabled='no'/>
  29. <suspend-to-disk enabled='no'/>
  30. </pm>
  31. <devices>
  32. <emulator>/usr/bin/kvm</emulator>
  33. <disk type='file' device='disk'>
  34. <driver name='qemu' type='qcow2'/>
  35. <source file='/var/lib/libvirt/images/test.qcow2'/>
  36. <target dev='hda' bus='ide'/>
  37. <boot order='2'/>
  38. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  39. </disk>
  40. <disk type='file' device='cdrom'>
  41. <driver name='qemu' type='raw'/>
  42. <source file='/disk/Downloads/disk-test.iso'/>
  43. <target dev='hdb' bus='ide'/>
  44. <readonly/>
  45. <boot order='1'/>
  46. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  47. </disk>
  48. <controller type='usb' index='0' model='ich9-ehci1'>
  49. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
  50. </controller>
  51. <controller type='usb' index='0' model='ich9-uhci1'>
  52. <master startport='0'/>
  53. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
  54. </controller>
  55. <controller type='usb' index='0' model='ich9-uhci2'>
  56. <master startport='2'/>
  57. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
  58. </controller>
  59. <controller type='usb' index='0' model='ich9-uhci3'>
  60. <master startport='4'/>
  61. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
  62. </controller>
  63. <controller type='pci' index='0' model='pci-root'/>
  64. <controller type='ide' index='0'>
  65. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  66. </controller>
  67. <controller type='virtio-serial' index='0'>
  68. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  69. </controller>
  70. <interface type='network'>
  71. <mac address='52:54:00:ff:81:a2'/>
  72. <source network='default'/>
  73. <model type='rtl8139'/>
  74. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  75. </interface>
  76. <serial type='pty'>
  77. <target port='0'/>
  78. </serial>
  79. <console type='pty'>
  80. <target type='serial' port='0'/>
  81. </console>
  82. <channel type='spicevmc'>
  83. <target type='virtio' name='com.redhat.spice.0'/>
  84. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  85. </channel>
  86. <input type='mouse' bus='ps2'/>
  87. <input type='keyboard' bus='ps2'/>
  88. <graphics type='spice'>
  89. <listen type='none'/>
  90. <gl enable='yes'/>
  91. </graphics>
  92. <sound model='ich6'>
  93. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  94. </sound>
  95. <video>
  96. <model type='virtio' heads='1' primary='yes'>
  97. <acceleration accel3d='yes'/>
  98. </model>
  99. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  100. </video>
  101. <redirdev bus='usb' type='spicevmc'>
  102. <address type='usb' bus='0' port='1'/>
  103. </redirdev>
  104. <redirdev bus='usb' type='spicevmc'>
  105. <address type='usb' bus='0' port='2'/>
  106. </redirdev>
  107. <memballoon model='virtio'>
  108. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  109. </memballoon>
  110. </devices>
  111. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement