<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    <br>
    I compiled a custom version of QEMU 2.0.0 and I am having hard times
    to make it available to libvirt. Just to clarify, if I execute<br>
    <br>
    /usr/local/bin/qemu-system-x86_64<br>
    <br>
    it does performs good. But when I put this very same path to
    <emulator> tag in a domain configutation, when i start the
    domain I get<br>
    <br>
    error: Failed to start domain vm1<br>
    error: internal error: process exited while connecting to monitor:
    libvirt:  error : cannot execute binary
    /usr/local/bin/qemu-system-x86_64: Permission denied<br>
    <br>
    I tried setting +x permission to all the binaries in /usr/local/bin,
    disabling apparmor profile for libvirtd, creating and putting to
    complain a profile for
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <br>
    /usr/local/bin/qemu-system-x86_64, creating a softlink to
    /usr/bin/kvm-spice to the custom binary and leaving <emulator>
    as default...<br>
    <br>
    At the end of
    <a class="moz-txt-link-freetext" href="http://www.gossamer-threads.com/lists/openstack/dev/40033">http://www.gossamer-threads.com/lists/openstack/dev/40033</a> I found
    something about AppArmor, and  enabling bios.bin reading somewhere,
    but I got a little confused here.<br>
    <br>
    The most disapointing thing here, is that using qemu 1.7 I could use
    my custom build, but apparently something changed with 2.0 (or with
    libvirt integration).<br>
    <br>
    Any ideas?<br>
    <br>
    Thanks!<br>
  </body>
</html>