touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #31615
[Bug 1389302] [NEW] cannot create ppc64 kvm guest in libvirt
You have been subscribed to a public bug:
---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: apparmor (Ubuntu)
Importance: Undecided
Status: New
** Tags: architecture-ppc64le bugnameltc-118313 severity-critical targetmilestone-inin1410
--
cannot create ppc64 kvm guest in libvirt
https://bugs.launchpad.net/bugs/1389302
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu.