Public bug reported: ---Problem Description--- Cannot start my RHEL guest on an OpenPOWER system using libvirt/kvm ---uname output--- Linux partpalm28 3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:06:19 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux Machine Type = p8 openpower ---Steps to Reproduce--- Try to create a kvm guest using virsh create and a RHEL (6.5 or later) ISO. During create, you will get the error tyan@partpalm28:~$ virsh create rhel* error: Failed to create domain from rhel65.xml error: internal error: early end of file from monitor: possible problem: qemu: hardware error: qemu: could not load LPAR rtas '/usr/share/qemu/spapr-rtas.bin'
The problem is that /usr/share/qemu/spar-rtas.bin is symlinked to "../slof/spapr-rtas.bin" and /usr/share/slof is not included in the libvirt apparmor profile as acceptable. The fix is to change /etc/apparmor.d/abstractions/libvirt-qemu as follows: *** libvirt-qemu Fri Oct 31 09:58:34 2014 --- libvirt-qemu+ Fri Oct 31 09:58:25 2014 *************** *** 73,78 **** --- 73,79 ---- /usr/share/openbios/** r, /usr/share/openhackware/** r, /usr/share/proll/** r, + /usr/share/slof/** r, /usr/share/vgabios/** r, /usr/share/seabios/** r, /usr/share/ovmf/** r, ** Affects: ubuntu Importance: Undecided Status: New ** Tags: architecture-ppc64le bugnameltc-118313 severity-critical targetmilestone-inin1410 ** Tags added: architecture-ppc64le bugnameltc-118313 severity-critical targetmilestone-inin1410 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1389302 Title: cannot create ppc64 kvm guest in libvirt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1389302/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs