[libvirt] [PATCH] Allow use of file images for LXC container filesystems

Eric Blake eblake at redhat.com
Wed Sep 28 16:46:12 UTC 2011

On 09/28/2011 02:02 AM, Daniel P. Berrange wrote:

>> The kernel headers available on RHEL 5 or CentOS 5 lack this enum
>> value, which causes compilation to fail if you are trying to build
>> lxc support for these older systems.

> This code shouldn't ever be being compiled on RHEL5, since it does not
> have any kernel container namespace support at all. So if we have a new
> enough kernel for LXC, we should have LO_FLAGS_AUTOCLEAR

Which code - all of LXC, or just the code using LO_FLAGS_AUTOCLEAR (that 
is, code related to lxc namespace support)?  Because using just the 
stock ./autogen.sh on RHEL 5 currently tries to build lxc, and because 
LO_FLAGS_AUTOCLEAR is missing, it is failing to compile.

Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

More information about the libvir-list mailing list