[lxc-devel] Multiple architectures support

Daniel Lezcano dlezcano at fr.ibm.com
Thu Jun 18 18:32:34 UTC 2009


Guido Trotter wrote:
> Hi!
> 
> Currently the lxc code fails if compiled on a number of architectures.
> This is because of missing __NR_unshare and fork_ns definitions in namespace.h

Right, I was too lazy to add them :)

> I don't have any other archs to text on, but people in debian would like to have
> lxc ported to the other supported archs.

That makes sense...

> Is there anything we should be wary
> about, regarding this? Can other flags just be added?

Yes, the new flags can be added regarding the definition in the arch 
dependant kernel source tree. We have to take care with the clone call 
because the arguments are sometimes inverted.

I can try to cross compile lxc, but I don't have all the architectures 
to test if lxc works on them :(

  -- Daniel





More information about the lxc-devel mailing list