Advertisement
vliaskov

libvirt xml - qemu args

May 15th, 2018
134
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2. <name>instance-00000006</name>
  3. <uuid>be0935e7-224e-4d0e-bb5a-b32ef277cea2</uuid>
  4. <metadata>
  5. <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
  6. <nova:package version="12.0.6-12.0.6~a0~dev2"/>
  7. <nova:name>test-live-migratioj-2</nova:name>
  8. <nova:creationTime>2018-05-15 10:17:01</nova:creationTime>
  9. <nova:flavor name="m1.tiny">
  10. <nova:memory>512</nova:memory>
  11. <nova:disk>1</nova:disk>
  12. <nova:swap>0</nova:swap>
  13. <nova:ephemeral>1</nova:ephemeral>
  14. <nova:vcpus>1</nova:vcpus>
  15. </nova:flavor>
  16. <nova:owner>
  17. <nova:user uuid="61c26885878d4de8b25159cfb57f7c59">admin</nova:user>
  18. <nova:project uuid="0ad4b518a108439080cd04d6e84c41c0">openstack</nova:project>
  19. </nova:owner>
  20. <nova:root type="image" uuid="d5d6403a-63fe-4a70-96c5-fd7bb7b1dd8e"/>
  21. </nova:instance>
  22. </metadata>
  23. <memory unit='KiB'>524288</memory>
  24. <currentMemory unit='KiB'>524288</currentMemory>
  25. <vcpu placement='static'>1</vcpu>
  26. <cputune>
  27. <shares>1024</shares>
  28. </cputune>
  29. <sysinfo type='smbios'>
  30. <system>
  31. <entry name='manufacturer'>SUSE Linux Enterprise 12</entry>
  32. <entry name='product'>OpenStack Nova</entry>
  33. <entry name='version'>12.0.6-12.0.6~a0~dev2</entry>
  34. <entry name='serial'>31e50ae3-e3a4-b65f-4d8f-17ca5a980284</entry>
  35. <entry name='uuid'>be0935e7-224e-4d0e-bb5a-b32ef277cea2</entry>
  36. <entry name='family'>Virtual Machine</entry>
  37. </system>
  38. </sysinfo>
  39. <os>
  40. <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
  41. <boot dev='hd'/>
  42. <smbios mode='sysinfo'/>
  43. </os>
  44. <features>
  45. <acpi/>
  46. <apic/>
  47. </features>
  48. <cpu mode='host-model'>
  49. <model fallback='allow'/>
  50. <topology sockets='1' cores='1' threads='1'/>
  51. </cpu>
  52. <clock offset='utc'>
  53. <timer name='pit' tickpolicy='delay'/>
  54. <timer name='rtc' tickpolicy='catchup'/>
  55. <timer name='hpet' present='no'/>
  56. </clock>
  57. <on_poweroff>destroy</on_poweroff>
  58. <on_reboot>restart</on_reboot>
  59. <on_crash>destroy</on_crash>
  60. <devices>
  61. <emulator>/usr/bin/qemu-kvm</emulator>
  62. <disk type='file' device='disk'>
  63. <driver name='qemu' type='qcow2' cache='none'/>
  64. <source file='/var/lib/nova/instances/be0935e7-224e-4d0e-bb5a-b32ef277cea2/disk'/>
  65. <target dev='vda' bus='virtio'/>
  66. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  67. </disk>
  68. <disk type='file' device='disk'>
  69. <driver name='qemu' type='qcow2' cache='none'/>
  70. <source file='/var/lib/nova/instances/be0935e7-224e-4d0e-bb5a-b32ef277cea2/disk.eph0'/>
  71. <target dev='vdb' bus='virtio'/>
  72. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  73. </disk>
  74. <controller type='usb' index='0'>
  75. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  76. </controller>
  77. <controller type='pci' index='0' model='pci-root'/>
  78. <interface type='bridge'>
  79. <mac address='fa:16:3e:91:a3:1d'/>
  80. <source bridge='qbr20fc4d26-26'/>
  81. <target dev='tap20fc4d26-26'/>
  82. <model type='virtio'/>
  83. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  84. </interface>
  85. <serial type='file'>
  86. <source path='/var/lib/nova/instances/be0935e7-224e-4d0e-bb5a-b32ef277cea2/console.log'/>
  87. <target port='0'/>
  88. </serial>
  89. <serial type='pty'>
  90. <target port='1'/>
  91. </serial>
  92. <console type='file'>
  93. <source path='/var/lib/nova/instances/be0935e7-224e-4d0e-bb5a-b32ef277cea2/console.log'/>
  94. <target type='serial' port='0'/>
  95. </console>
  96. <input type='tablet' bus='usb'/>
  97. <input type='mouse' bus='ps2'/>
  98. <input type='keyboard' bus='ps2'/>
  99. <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us'>
  100. <listen type='address' address='0.0.0.0'/>
  101. </graphics>
  102. <video>
  103. <model type='cirrus' vram='16384' heads='1'/>
  104. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  105. </video>
  106. <memballoon model='virtio'>
  107. <stats period='10'/>
  108. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  109. </memballoon>
  110. </devices>
  111. </domain>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement