[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On 09/28/2011 11:38 AM, Daniel P. Berrange wrote:
On Wed, Sep 28, 2011 at 10:46:12AM -0600, Eric Blake wrote:
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.

All of LXC.

OK, that makes my configure.ac patch easier - probe for LO_FLAGS_AUTOCLEAR as a prereq for --with-lxc. Patch coming up soon.

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]