** Description changed:

+ =================================
+ SRU Justification
+ Impact: cannot start VMs with UEFI
+ Test case:
+ Regression potential: virt-aa-helper is modified to add the nvram files to 
the allowed list, there should be no regressions.
+ =================================
+ 
  When I'm trying to create new VM through virt-manager with OVMF firmware
  instead of BIOS an error appears:
  
  Failed to complete an installation: «internal error: cannot load
  AppArmor profile «libvirt-0dc7297d-a474-47ed-88b0-026f1d6ae2a4»»
  
  Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in 
cb_wrapper
      callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/create.py", line 1873, in 
do_install
      guest.start_install(meter=meter)
    File "/usr/share/virt-manager/virtinst/guest.py", line 414, in start_install
      noboot)
    File "/usr/share/virt-manager/virtinst/guest.py", line 478, in _create_guest
      dom = self.conn.createLinux(start_xml or final_xml, 0)
    File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3497, in 
createLinux
      if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)
  libvirtError: internal error: cannot load AppArmor profile 
«libvirt-0dc7297d-a474-47ed-88b0-026f1d6ae2a4»
  
  There is an appropriate lines at the end of /etc/libvirt/qemu.conf:
  
  nvram = [ 
"/usr/share/OVMF/OVMF_CODE-pure-efi.fd:/usr/share/OVMF/OVMF_VARS-pure-efi.fd",
            
"/usr/share/OVMF/OVMF_CODE-with-csm.fd:/usr/share/OVMF/OVMF_VARS-with-csm.fd" ]
  
  Surely those files are present in /usr/share/OVMF/.
  
  Kbuntu 15.10 Wily
  Linux 4.2RC6 x86_64
  virt-manager 1.2.1
  libvirt 1.2.16
  qemu 2.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1483071

Title:
  Error creating new VM with OVMF

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to