Public bug reported: Currently, if you don't specify the parameter "--arch=ppc64" to virt- install, the virt-install will fail as follows:
$ virt-install --name breno --memory 4096 --disk size=500,bus=virtio --cdrom mini.iso WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. Starting install... Allocating 'breno.qcow2' | 500 GB 00:04 ERROR XML error: No PCI buses available Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start breno otherwise, please restart your installation. On the other side, if the option --arch=ppc64 is passed, it works fine. I generated a diff of both XML generated in both cases, and the result is the following (with some unimportant parts removed): + <type arch="ppc64" machine="pseries">hvm</type> <boot dev="cdrom"/> <boot dev="hd"/> </os> @@ -19,33 +19,33 @@ <on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash> <devices> - <emulator>/usr/bin/qemu-system-ppc64le</emulator> + <emulator>/usr/bin/qemu-system-ppc64</emulator> <disk type="file" device="disk"> <driver name="qemu" type="qcow2"/> <driver name="qemu" type="raw"/> <source file="/home/brenohl/versions/14.04.2/mini.iso"/> - <target dev="hda" bus="ide"/> + <target dev="sda" bus="scsi"/> <readonly/> </disk> <vcpu>1</vcpu> <os> - <type arch="ppc64le">hvm</type> + <type arch="ppc64" machine="pseries">hvm</type> <boot dev="hd"/> </os> <features> @@ -58,19 +58,19 @@ <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> - <emulator>/usr/bin/qemu-system-ppc64le</emulator> + <emulator>/usr/bin/qemu-system-ppc64</emulator> <disk type="file" device="disk"> <driver name="qemu" type="qcow2"/> </disk> <disk type="block" device="cdrom"> - <target dev="hda" bus="ide"/> + <target dev="sda" bus="scsi"/> <readonly/> </disk> I understand that libvirt should consider ppc64le a ppc64 guests for all purposes. ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New ** Tags: ppc64el ** Tags added: ppc64el -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/1396595 Title: Using virt-install fails on ppc64el with "ERROR XML error: No PCI buses available" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1396595/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs