In order to solve this problem, the following libvirt commits are required. They were also accepted in vivid, as described by bug #1396070
commit 3bc6dda6c55ed2ebc8604b9dc0410639eaede8cb Author: Cole Robinson <crobi...@redhat.com> Date: Tue Sep 23 11:35:57 2014 -0400 qemu_command: Split qemuBuildCpuArgStr Move the CPU mode/model handling to its own function. This is just code movement and re-indentation. commit 445a09bdc96ca6e434bfdcca75752ee316289bbe Author: Cole Robinson <crobi...@redhat.com> Date: Tue Sep 23 13:07:09 2014 -0400 qemu: Don't compare CPU against host for TCG Right now when building the qemu command line, we try to do various unconditional validations of the guest CPU against the host CPU. However this checks are overly applied. The only time we should use the checks are: commit da636d83dc6b1d070a705786b4daef8644eaca13 Author: Prerna Saxena <pre...@linux.vnet.ibm.com> Date: Tue Nov 4 22:51:26 2014 +0530 Cpu: Add support for Power LE Architecture. This adds support for PowerPC Little Endian architecture., and allows libvirt to spawn VMs based on 'ppc64le' architecture. commit addce06c9221f948072cd222b56ea9c3f70ec066 Author: Prerna Saxena <pre...@linux.vnet.ibm.com> Date: Tue Nov 4 22:52:44 2014 +0530 PowerPC : Add support for launching VM in 'compat' mode. PowerISA allows processors to run VMs in binary compatibility ("compat") mode supporting an older version of ISA. QEMU has recently added support to explicitly denote a VM running in compatibility mode through commit 6d9412ea & 8dfa3a5e85. Now, a "compat" mode VM can be run by invoking this qemu commandline on a POWER8 host: -cpu host,compat=power7. commit 1e911742287d964055f33ab76d53e673a9b4477f Author: Prerna Saxena <pre...@linux.vnet.ibm.com> Date: Tue Nov 4 22:58:33 2014 +0530 PowerPC:Improve PVR handling to fall back to cpu generation. IBM Power processors differ uniquely across generations (such as power6, power7, power8). Each generation signifies a new PowerISA version that exhibits features unique to that generation. The higher 16 bits of PVR for IBM Power processors encode the CPU generation, while the CPU chip (sub)version is encoded in lower 16 bits. commit 9265fd19b68d787e478f5e490524da794965a5f1 Author: Prerna Saxena <pre...@linux.vnet.ibm.com> Date: Tue Nov 4 23:00:36 2014 +0530 docs: Add documentation for compat mode. Add documentation to explain how compat-mode can be invoked with libvirt running on PowerPC architecture. It also mentions that this change is available libvirt 1.2.11 onwards. Signed-off-by: Prerna Saxena <pre...@linux.vnet.ibm.com> Reviewed-by: Michal Privoznik <mpriv...@redhat.com> commit 12c381114ce362e49cadb730b5faabbc150a8878 Author: Prerna Saxena <pre...@linux.vnet.ibm.com> Date: Tue Nov 4 23:02:15 2014 +0530 Test: Add a testcase for PowerPC compat mode cpu specification. This introduces a testcase for PowerPC compat mode cpu specification. Signed-off-by: Prerna Saxena <pre...@linux.vnet.ibm.com> Reviewed-by: Michal Privoznik <mpriv...@redhat.com> These patches have been tested -- they build fine against the libvirt 1.2.8 sources that are packaged with Ubuntu 14.10. I have included a reference to the upstream commit in each case. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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/virtinst/+bug/1396595/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs