Advertisement
michelmno

Untitled

Dec 12th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. What is wrong with my powernv xml ?
  2. ===
  3. $virsh define ~/xml/powernv.xml
  4. error: Failed to define domain from /home/michel/xml/powernv.xml
  5. error: unsupported configuration: Option 'modelName' is not valid for PCI controller with index '0', model 'pci-root' and modelName 'spapr-pci-host-bridge'
  6. ===
  7. $cat ~/xml/powernv.xml
  8. <domain type='kvm' id='2'>
  9. <name>powernv</name>
  10. <memory unit='KiB'>4194304</memory>
  11. <currentMemory unit='KiB'>4194304</currentMemory>
  12. <vcpu placement='static'>4</vcpu>
  13. <resource>
  14. <partition>/machine</partition>
  15. </resource>
  16. <os>
  17. <type arch='ppc64' machine='powernv'>hvm</type>
  18. <boot dev='cdrom'/>
  19. <boot dev='hd'/>
  20. </os>
  21. <features>
  22. <acpi/>
  23. <apic/>
  24. <pae/>
  25. </features>
  26. <cpu>
  27. <topology sockets='1' cores='2' threads='2'/>
  28. </cpu>
  29. <clock offset='utc'/>
  30. <on_poweroff>destroy</on_poweroff>
  31. <on_reboot>restart</on_reboot>
  32. <on_crash>restart</on_crash>
  33. <devices>
  34. <emulator>/usr/bin/qemu-system-ppc64</emulator>
  35. <disk type='file' device='disk'>
  36. <driver name='qemu' type='qcow2' cache='none'/>
  37. <source file='/home/michel/images/powernv.disk1.qcow2'/>
  38. <backingStore/>
  39. <target dev='sda' bus='scsi'/>
  40. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  41. </disk>
  42. <disk type='network' device='cdrom'>
  43. <driver name='qemu' type='raw'/>
  44. <source protocol='http' name='/pub/linux/fedora/rawhide/ppc64le/iso/latest'>
  45. <host name='sf1.tlslab.ibm.com' port='80'/>
  46. </source>
  47. <target dev='sde' bus='scsi'/>
  48. <readonly/>
  49. <address type='drive' controller='0' bus='0' target='0' unit='4'/>
  50. </disk>
  51. <controller type='pci' index='0' model='pci-root'>
  52. <model name='spapr-pci-host-bridge'/>
  53. <target index='0'/>
  54. </controller>
  55. <controller type='usb' index='0' model='qemu-xhci'>
  56. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
  57. </controller>
  58. <controller type='scsi' index='0' model='virtio-scsi'>
  59. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  60. </controller>
  61. <interface type='bridge'>
  62. <source bridge='virbr0'/>
  63. <model type='virtio'/>
  64. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  65. </interface>
  66. <serial type='pty'>
  67. <source path='/dev/pts/2'/>
  68. <target type='spapr-vio-serial' port='0'>
  69. <model name='spapr-vty'/>
  70. </target>
  71. <address type='spapr-vio' reg='0x30001000'/>
  72. </serial>
  73. <console type='pty' tty='/dev/pts/2'>
  74. <source path='/dev/pts/2'/>
  75. <target type='serial' port='0'/>
  76. <address type='spapr-vio' reg='0x30001000'/>
  77. </console>
  78. <memballoon model='virtio'>
  79. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  80. </memballoon>
  81. <panic model='pseries'/>
  82. </devices>
  83. <seclabel type='dynamic' model='selinux' relabel='yes'>
  84. <label>unconfined_u:unconfined_r:svirt_t:s0:c628,c632</label>
  85. <imagelabel>unconfined_u:object_r:svirt_image_t:s0:c628,c632</imagelabel>
  86. </seclabel>
  87. </domain>
  88. ===
  89. $hostnamectl
  90. Static hostname: abanc.tlslab.ibm.com
  91. Icon name: computer
  92. Machine ID: 085bb1198e8d4ff996c6a02a1d71366e
  93. Boot ID: 2dd16214ef824e11b01e93a57a23c22c
  94. Operating System: Fedora 31 (Server Edition)
  95. CPE OS Name: cpe:/o:fedoraproject:fedora:31
  96. Kernel: Linux 5.3.15-300.fc31.ppc64le
  97. Architecture: ppc64-le
  98. ===
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement