Advertisement
vliaskov

libvirt xml - qemu args 2

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