SUSE Support

Here When You Need Us

libvirtd apparmor profile prevents Xen domains from starting

This document (7016245) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 12


After upgrading libvirt packages on sles 12 virtual guests fail to start:

# virsh create sles12.xml
error: Failed to create domain from sles12.xml
error: internal error: libxenlight failed to create new domain 'sles12'

# cat /var/log/libvirt/libxl/sles12.log: libxl: debug: libxl_create.c:1362:do_domain_create: ao 0x7fae94005070: create: how=(nil) callback=(nil) poller=0x7fae940008c0 xc: error: xc_alloc_hypercall_buffer: mmap failed (11 = Resource temporarily unavailabl): Internal error libxl: error: libxl.c:570:libxl_list_domain: geting domain info list: Resource temporarily unavailable libxl: error: libxl.c:314:libxl__domain_rename: unexpected errorchecking for existing domain libxl: error: libxl_create.c:762:initiate_domain_create: cannot make domain: -5 libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao 0x7fae94005070: complete, rc=-3 libxl: debug: libxl_create.c:1376:do_domain_create: ao 0x7fae94005070: inprogress: poller=0x7fae940008c0, flags=ic libxl: debug: libxl_event.c:1563:libxl__ao__destroy: ao 0x7fae94005070: destroy xc: debug: hypercall buffer: total allocations:17 total releases:16 xc: debug: hypercall buffer: current allocations:1 maximum allocations:3 xc: debug: hypercall buffer: cache current size:2 xc: debug: hypercall buffer: cache hits:14 misses:2 toobig:1


As a workaround you can turn off apparmor chkconfig apparmor off and reboot the server.


The problem is due to a regression in the apparmor profiles for /usr/sbin/libvirtd. This regression prevents Xen from working properly.

Additional Information

Bug 913799 has been filed, and the main repositories will have a fix for this in the near future. this problem is seen in version libvirt-1.2.5-21.1


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7016245
  • Creation Date: 27-Feb-2015
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.