← Back to team overview

touch-packages team mailing list archive

[Bug 1389302] Re: cannot create ppc64 kvm guest in libvirt

 

** Package changed: ubuntu => apparmor (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1389302

Title:
  cannot create ppc64 kvm guest in libvirt

Status in “apparmor” package in Ubuntu:
  New

Bug description:
  ---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,

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1389302/+subscriptions