Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. <domain type='kvm' id='3'>
  2. <name>myvm-master</name>
  3. <uuid>2727aaf1-7b03-4384-b7a9-c224af2b41cc</uuid>
  4. <memory unit='KiB'>4194304</memory>
  5. <currentMemory unit='KiB'>4194304</currentMemory>
  6. <vcpu placement='static'>4</vcpu>
  7. <resource>
  8. <partition>/machine</partition>
  9. </resource>
  10. <os>
  11. <type arch='x86_64' machine='pc-i440fx-bionic'>hvm</type>
  12. <boot dev='hd'/>
  13. </os>
  14. <features>
  15. <acpi/>
  16. <apic/>
  17. <pae/>
  18. </features>
  19. <cpu mode='host-passthrough' check='none'/>
  20. <clock offset='utc'/>
  21. <on_poweroff>destroy</on_poweroff>
  22. <on_reboot>restart</on_reboot>
  23. <on_crash>destroy</on_crash>
  24. <devices>
  25. <emulator>/usr/bin/kvm-spice</emulator>
  26. <disk type='volume' device='disk'>
  27. <driver name='qemu' type='qcow2'/>
  28. <source pool='myvm' volume='myvm-master'/>
  29. <backingStore type='file' index='1'>
  30. <format type='qcow2'/>
  31. <source file='/var/lib/libvirt/images/myvm/myvm-master-base-volume'/>
  32. <backingStore/>
  33. </backingStore>
  34. <target dev='vda' bus='scsi'/>
  35. <wwn>05abcd8f75ee8e1a</wwn>
  36. <alias name='scsi0-0-0-0'/>
  37. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  38. </disk>
  39. <disk type='file' device='cdrom'>
  40. <driver name='qemu' type='raw'/>
  41. <source file='/var/lib/libvirt/images/myvm/myvm-master-init'/>
  42. <backingStore/>
  43. <target dev='hdd' bus='ide'/>
  44. <readonly/>
  45. <alias name='ide0-1-1'/>
  46. <address type='drive' controller='0' bus='1' target='0' unit='1'/>
  47. </disk>
  48. <controller type='scsi' index='0' model='virtio-scsi'>
  49. <alias name='scsi0'/>
  50. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  51. </controller>
  52. <controller type='usb' index='0' model='piix3-uhci'>
  53. <alias name='usb'/>
  54. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  55. </controller>
  56. <controller type='pci' index='0' model='pci-root'>
  57. <alias name='pci.0'/>
  58. </controller>
  59. <controller type='ide' index='0'>
  60. <alias name='ide'/>
  61. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  62. </controller>
  63. <controller type='virtio-serial' index='0'>
  64. <alias name='virtio-serial0'/>
  65. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  66. </controller>
  67. <interface type='bridge'>
  68. <mac address='52:54:00:9e:f6:cb'/>
  69. <source bridge='br0'/>
  70. <target dev='vnet2'/>
  71. <model type='virtio'/>
  72. <alias name='net0'/>
  73. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  74. </interface>
  75. <serial type='pty'>
  76. <source path='/dev/pts/5'/>
  77. <target type='isa-serial' port='0'>
  78. <model name='isa-serial'/>
  79. </target>
  80. <alias name='serial0'/>
  81. </serial>
  82. <console type='pty' tty='/dev/pts/5'>
  83. <source path='/dev/pts/5'/>
  84. <target type='serial' port='0'/>
  85. <alias name='serial0'/>
  86. </console>
  87. <console type='tcp'>
  88. <source mode='bind' host='127.0.0.1' service='0' tls='no'/>
  89. <protocol type='telnet'/>
  90. <target type='virtio' port='1'/>
  91. <alias name='console1'/>
  92. </console>
  93. <channel type='pty'>
  94. <source path='/dev/pts/6'/>
  95. <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
  96. <alias name='channel0'/>
  97. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  98. </channel>
  99. <input type='mouse' bus='ps2'>
  100. <alias name='input0'/>
  101. </input>
  102. <input type='keyboard' bus='ps2'>
  103. <alias name='input1'/>
  104. </input>
  105. <graphics type='spice' port='5902' autoport='yes' listen='127.0.0.1'>
  106. <listen type='address' address='127.0.0.1'/>
  107. </graphics>
  108. <video>
  109. <model type='cirrus' vram='16384' heads='1' primary='yes'/>
  110. <alias name='video0'/>
  111. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  112. </video>
  113. <memballoon model='virtio'>
  114. <alias name='balloon0'/>
  115. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  116. </memballoon>
  117. <rng model='virtio'>
  118. <backend model='random'>/dev/urandom</backend>
  119. <alias name='rng0'/>
  120. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  121. </rng>
  122. </devices>
  123. <seclabel type='dynamic' model='dac' relabel='yes'>
  124. <label>+64055:+116</label>
  125. <imagelabel>+64055:+116</imagelabel>
  126. </seclabel>
  127. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement